On Fri, 25 Sep 2015 23:16:04 -0400, Daniel Macks <dma...@netspace.org> wrote:
On Fri, 25 Sep 2015 16:47:33 -0700, Saleh Elmohamed
> <m.a.saleh.elmoha...@gmail.com> wrote:
> > /bin/sh ../../libtool --tag=CC --mode=link gcc -I/sw/include -O3 > 
> -funroll-loops -Wextra -no-undefined -version-info 11:0:3 -L/sw/lib > 
> -o libFLAC.la -rpath /sw/lib bitmath.lo bitreader.lo bitwriter.lo
[...]
> > Undefined symbols for architecture x86_64:
> > "___cpuid", referenced from:
> > _FLAC__cpu_info in cpu.o
> > _FLAC__cpu_info_x86 in cpu.o
> > "___cpuid_count", referenced from:
> > _FLAC__cpu_info in cpu.o
> > _FLAC__cpu_info_x86 in cpu.o
> > ld: symbol(s) not found for architecture x86_64
>
> I noticed this also earlier this week, only on 10.7 like you (not on 
> 10.10). Best I can tell it's due to a very different codepath taken 
> when bswap16 is not detected. Perhaps compounded by using a header 
> test (cpuid.h) that has a generic name to get functions that are 
> specific to non-darwin and/or only available in later xcode versions 
> than 10.7 has. If I have time I'll try to figure out how to shim the 
> missing function or give the "correct" result for the buggy test. 

I just committed a fix that gets over this hump on 10.7. No idea 
whether it actually makes a library that works well for...whatever you 
plan to do with it. 

dan

--
Daniel Macks
dma...@netspace.org


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to