I have been trying to compile the CERN library (cernlib) on a dual Opteron. With some patches in the configuration files, everything looks good with 64-bit compilation. The lib....a libraries appear to compile in 32-bit (-m32) form. But some programs produced from these files, and SuSE system files, fail. Below is the log file from the attempt to produce paw++. The complaint relates to BFD code. I don't know if the problem is there, or in the cernlib somewhere -- or how to find it. The message says to report the bug. Please advise. Thank you. installing in /pawlib/paw... gmake[1]: Entering directory `/usr/local/cern/2003_new/build/pawlib/paw' making Makefiles in /pawlib/paw/programs... installing in /pawlib/paw/programs... gmake[2]: Entering directory `/usr/local/cern/2003_new/build/pawlib/paw/programs' rm -f 0pamain.o g77 -c -O -m32 -fno-automatic -fno-second-underscore -fugly-complex -I/usr/local/cern/2003_new/build/pawlib/paw -I/usr/local/cern/2003_new/src/pawlib/paw -I/usr/local/cern/2003_new/src/pawlib/paw/programs -I/usr/local/cern/2003_new/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC -o 0pamain.o /usr/local/cern/2003_new/src/pawlib/paw/programs/0pamain.F rm -f pawX11 Linking with cern libraries /usr/local/cern/2003_new/lib/libpawlib.a /usr/local/cern/2003_new/lib/liblapack3.a /usr/local/cern/2003_new/lib/libblas.a /usr/local/cern/2003_new/lib/libgraflib.a /usr/local/cern/2003_new/lib/libgrafX11.a /usr/local/cern/2003_new/lib/libpacklib.a /usr/local/cern/2003_new/lib/libmathlib.a /usr/local/cern/2003_new/lib/libkernlib.a -L/usr/X11R6/lib -lX11 -lnsl -lcrypt -ldl g77 -o pawX11 -O -m32 -fno-automatic -fno-second-underscore -fugly-complex -Wl,-E -L/usr/local/cern/2003_new/src../lib 0pamain.o `cernlib pawlib graflib/X11 packlib mathlib kernlib` \ || rm -f pawX11 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.2/../../../../x86_64-suse-linux/bin/ld: BFD 2.14.90.0.5 20030722 (SuSE Linux) internal error, aborting at ../../bfd/elfcode.h line 224 in bfd_elf64_swap_symbol_in /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.2/../../../../x86_64-suse-linux/bin/ld: Please report this bug. collect2: ld returned 1 exit status Error: pawX11 not executable gmake[2]: *** [pawX11] Error 1 gmake[2]: Leaving directory `/usr/local/cern/2003_new/build/pawlib/paw/programs' gmake[1]: *** [install.bin] Error 2 gmake[1]: Leaving directory `/usr/local/cern/2003_new/build/pawlib/paw' make: *** [install.bin] Error 2
participants (1)
-
Joseph Comfort