Yves Edel wrote:
> Hi,
> fink run into an error while building gcc44 on my macbook pro 13", 4GB  
> Ram, Os 10.6.1.
> Last lines of the output attached. I did all updates of fink before.
> Best regards,
> Yves
>
> /bin/sh ../../../libtool --tag=CC --mode=link /sw/src/fink.build/ 
> gcc44-4.4.1-1000/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/ 
> gcc44-4.4.1-1000/darwin_objdir/./gcc/ -B/sw/lib/gcc4.4/x86_64-apple- 
> darwin10/bin/ -B/sw/lib/gcc4.4/x86_64-apple-darwin10/lib/ -isystem /sw/ 
> lib/gcc4.4/x86_64-apple-darwin10/include -isystem /sw/lib/gcc4.4/ 
> x86_64-apple-darwin10/sys-include -W -Wall -Wmissing-declarations - 
> Wwrite-strings -Wmissing-prototypes -Wno-long-long  -I/usr/include -g - 
> O2   -version-info 0:0:0 -no-undefined -lgmp  -o libjavamath.la - 
> rpath /sw/lib/gcc4.4/lib/gcj-4.4.1-10 -version-info 0:0:0 -no- 
> undefined -lgmp -avoid-version gnu_java_math_GMP.lo ../../../native/ 
> jni/classpath/jcl.lo
> libtool: link: /sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./gcc/ 
> xgcc -B/sw/src/fink.build/gcc44-4.4.1-1000/darwin_objdir/./gcc/ -B/sw/ 
> lib/gcc4.4/x86_64-apple-darwin10/bin/ -B/sw/lib/gcc4.4/x86_64-apple- 
> darwin10/lib/ -isystem /sw/lib/gcc4.4/x86_64-apple-darwin10/include - 
> isystem /sw/lib/gcc4.4/x86_64-apple-darwin10/sys-include -dynamiclib  - 
> o .libs/libjavamath.dylib  .libs/gnu_java_math_GMP.o ../../../native/ 
> jni/classpath/.libs/jcl.o   /usr/local/lib/libgmp.a    -install_name  / 
> sw/lib/gcc4.4/lib/gcj-4.4.1-10/libjavamath.dylib  -Wl,-single_module
> ld: pointer in read-only segment not allowed in slidable image, used  
> in ___gmpn_divexact_1 from /usr/local/lib/libgmp.a(dive_1.o)
> collect2: ld returned 1 exit status
>   

You have a third-party gmp in /usr/local which isn't compatible with our
gcc44.  As per our FAQ:

http://www.finkproject.org/faq/comp-general.php?phpLang=en#usr-local-libs

you can /usr/local out of the way while you build gcc44 to solve this.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to