pkgsrc-Bugs archive

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

pkg/43902: math/pari link failure on MacOS X 10.4.11 (ppc)



>Number:         43902
>Category:       pkg
>Synopsis:       math/pari link failure on MacOS X 10.4.11 (ppc)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 24 03:35:00 +0000 2010
>Originator:     John D. Baker
>Release:        MacOS X 10.4.1, pkgsrc-current (pre-2010Q3)
>Organization:
>Environment:
Darwin ed.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

>Description:
Building math/pari fails a link step as follows:

[...]
libtool  --mode=link gcc  -o gp -O3 -Wall -fno-strict-aliasing 
-fomit-frame-pointer  -pipe -O2 -I/usr/pkg/include -I/usr/include 
-DPNG_NO_ASSEMBLER_CODE -no-cpp-precomp -isystem /usr/include 
-I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib 
gp.lo gp_init.lo gp_rl.lo highlvl.lo whatnow.lo plotport.lo plotfltk.lo  
-L"/usr/pkg"/lib -lfltk -framework Carbon -lsupc++ -L/usr/pkg/lib -lgmp 
-Wl,-R/usr/lib -L/usr/lib -lreadline -L/usr/lib -ltermcap libpari-gmp.la
libtool: link: gcc -o .libs/gp -O3 -Wall -fno-strict-aliasing 
-fomit-frame-pointer -pipe -O2 
-I/d0/tmp/pkgsrc/math/pari/work/.buildlink/include -DPNG_NO_ASSEMBLER_CODE 
-no-cpp-precomp -isystem /usr/include .libs/gp.o .libs/gp_init.o .libs/gp_rl.o 
.libs/highlvl.o .libs/whatnow.o .libs/plotport.o .libs/plotfltk.o  
-L/d0/tmp/pkgsrc/math/pari/work/.buildlink/lib 
-L/d0/tmp/pkgsrc/math/pari/work/.x11-buildlink/lib 
/d0/tmp/pkgsrc/math/pari/work/.buildlink/lib/libfltk.dylib -lpthread -lsupc++ 
/d0/tmp/pkgsrc/math/pari/work/.buildlink/lib/libgmp.dylib 
/d0/tmp/pkgsrc/math/pari/work/.buildlink/lib/libreadline.dylib -lcurses 
/d0/tmp/pkgsrc/math/pari/work/pari-2.3.5/Odarwin-ppc/.libs/libpari-gmp.dylib 
-framework ApplicationServices -framework Carbon 
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning suggest use of 
-bind_at_load, as lazy binding may result in errors or different symbols being 
used
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
__Unwind_Resume
__Unwind_GetDataRelBase
__Unwind_GetIP
__Unwind_GetLanguageSpecificData
__Unwind_GetRegionStart
__Unwind_GetTextRelBase
__Unwind_SetGR
__Unwind_SetIP
__Unwind_RaiseException
__Unwind_Resume_or_Rethrow
__Unwind_DeleteException
symbol _mkcomplex used from dynamic library 
/d0/tmp/pkgsrc/math/pari/work/pari-2.3.5/Odarwin-ppc/.libs/libpari-gmp.dylib(single
 module) not from earlier dynamic library 
/usr/lib/libSystem.B.dylib(mkcomplex.So)
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /d0/tmp/pkgsrc/math/pari/work/pari-2.3.5/Odarwin-ppc
*** Error code 1

Stop.
bmake: stopped in /d0/tmp/pkgsrc/math/pari/work/pari-2.3.5
*** Error code 1

Stop.
bmake: stopped in /d0/tmp/pkgsrc/math/pari/work/pari-2.3.5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/math/pari
*** Error code 1
[...]

The symbols reported as undefined are in "/usr/lib/libSystem.dylib",
which is also symlinked as "libc.dylib".  Did something leave out
a library reference?  Or mask it?  "libSystem.B.dylib" also contains
the symbols claimed as undefined.
>How-To-Repeat:
Attempt to build math/pari on MacOS X 10.4.11 (ppc), or any package which
pulls it in as a dependency (net/clive in this particular case).
>Fix:



Home | Main Index | Thread Index | Old Index