NetBSD-Users archive

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

[pkgsrc] gcc48



        Hello,

I'm trying to build gcc48 from pkgsrc-current on my PWS500 (NetBSD 7.99.1/alpha ev56). Build process stops with following error :

gcc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o isl_test isl_test-isl_test.o libisl.la /usr/pkgsrc/lang/gcc48-libs/work/build/./gmp/libgmp.la libtool: link: gcc -g -static-libstdc++ -static-libgcc -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o isl_test isl_test-isl_test.o -L/usr/lib ./.libs/libisl.a /usr/pkgsrc/lang/gcc48-libs/work/build/./gmp/.libs/libgmp.a /usr/pkgsrc/lang/gcc48-libs/work/build/./gmp/.libs/libgmp.a(divrem_1.o): In function `__gmpn_divrem_1': /usr/pkgsrc/lang/gcc48-libs/work/build/gmp/mpn/divrem_1.c:149: undefined reference to `__gmpn_invert_limb' /usr/pkgsrc/lang/gcc48-libs/work/build/gmp/mpn/divrem_1.c:228: undefined reference to `__gmpn_invert_limb' /usr/pkgsrc/lang/gcc48-libs/work/build/./gmp/.libs/libgmp.a(mod_1.o): In function `mpn_mod_1_unnorm': /usr/pkgsrc/lang/gcc48-libs/work/build/gmp/mpn/mod_1.c:169: undefined reference to `__gmpn_invert_limb' /usr/pkgsrc/lang/gcc48-libs/work/build/./gmp/.libs/libgmp.a(mod_1.o): In function `mpn_mod_1_norm': /usr/pkgsrc/lang/gcc48-libs/work/build/gmp/mpn/mod_1.c:221: undefined reference to `__gmpn_invert_limb' /usr/pkgsrc/lang/gcc48-libs/work/build/./gmp/.libs/libgmp.a(div_q.o): In function `__gmpn_div_q': /usr/pkgsrc/lang/gcc48-libs/work/build/gmp/mpn/div_q.c:155: undefined reference to `__gmpn_invert_limb' /usr/pkgsrc/lang/gcc48-libs/work/build/./gmp/.libs/libgmp.a(div_q.o):/usr/pkgsrc/lang/gcc48-libs/work/build/gmp/mpn/div_q.c:163: more undefined references to `__gmpn_invert_limb' follow
Makefile:921: recipe for target 'isl_test' failed
gmake[5]: *** [isl_test] Error 1
gmake[5]: Leaving directory '/usr/pkgsrc/lang/gcc48-libs/work/build/isl'
Making all in doc
gmake[5]: Entering directory '/usr/pkgsrc/lang/gcc48-libs/work/build/isl/doc'
gmake[5]: Nothing to be done for 'all'.
gmake[5]: Leaving directory '/usr/pkgsrc/lang/gcc48-libs/work/build/isl/doc'
Makefile:1765: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory '/usr/pkgsrc/lang/gcc48-libs/work/build/isl'
Makefile:783: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory '/usr/pkgsrc/lang/gcc48-libs/work/build/isl'
Makefile:7386: recipe for target 'all-stage1-isl' failed
gmake[2]: *** [all-stage1-isl] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/gcc48-libs/work/build'
Makefile:22424: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/gcc48-libs/work/build'
Makefile:895: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[2]: stopped in /usr/pkgsrc/lang/gcc48-libs
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/gcc48-libs
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc48

I have built gmp from pkgsrc and both shared and static libraries contain this entry point :

einstein# nm libgmp.so | grep gmpn_invert_limb
000000000006be20 T __gmpn_invert_limb
einstein# nm libgmp.a | grep gmpn_invert_limb | grep " T "
000000000006be20 T __gmpn_invert_limb

But if I check /usr/pkgsrc/lang/gcc48-libs/work/build/./gmp/.libs/libgmp.a, it doesn't contains any reference to __gmpn_invert_limb :
einstein# nm libgmp.a | grep __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb
                 U __gmpn_invert_limb

        I suppose it's a bug related to alpha port but I'm not sure.

        Best regards,

        JKB


Home | Main Index | Thread Index | Old Index