snow leopard, gcc..
Ryan Schmidt
ryandesign at macports.org
Tue Apr 6 15:49:37 PDT 2010
On Apr 6, 2010, at 17:45, josé henrique padovani wrote:
> these are the last lines that I receive after trying
> sudo port -v install gcc44
>
> "
> libtool: link: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/./gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/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 /opt/local/lib/gcc44/gcj-4.4.3-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)
So you have a copy of libgmp.a in /usr/local/lib and it is interfering with the build. Please remove it and anything else in /usr/local. Then clean the port (sudo port clean gcc44) and try again.
More information about the macports-users
mailing list