Re: PPC not getting __WORDSIZE set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 02, 2009 at 05:15:50PM -0500, Bryan Kearney wrote:
> Word of warning.. I am no too familiar with C across platforms.  I am  
> trying to package ruby-ffi (spec file is at [1]) and when I do a scratch  
> build in Koji [2] it runs fine on x86 but is failing in ppc_64. It  
> appears that __WORDSIZE is not being set [3]. I looked at the CFLags for  
> the x86_64 and they are the same, so I assumed things would run fine.  
> Can anyone point me at what to look at next?

__WORDSIZE is a glibc internal macro, packages shouldn't be using it.
Whether it is defined or not depends on whether any of the headers that are
included needed to check that macro or not.

You should be using __LP64__ or similar macros instead.

	Jakub

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux