gmp-5.0.1 configure error
acrux
acrux_it at libero.it
Sun Feb 7 23:35:01 CET 2010
i receive a configure error with gmp-5.0.1 (instead 5.0.0 is successful)
on a gnu/linux system (CRUX PPC 2.6 on PPC32).
CRUX PPC gmp port: http://www.cruxppc.org/viewvc/core/branches/2.6/libgmp/Pkgfile?revision=1403&view=markup
Linux hermes 2.6.32.7 #1 PREEMPT Fri Jan 29 15:04:31 CET 2010 ppc 7447A, altivec supported PowerBook6,7 GNU/Linux
binutils-2.20, gcc-4.4.2, glibc-2.11
system: Apple iBook G4, cpu clock 1.33GHz, ram 1GB DDR
[96%][H] root at hermes:/usr/ports/ppc/core/libgmp/gmp-5.0.1# ./config.guess
powerpc7447-unknown-linux-gnu
[96%][H] root at hermes:/usr/ports/ppc/core/libgmp/gmp-5.0.1# ./configfsf.guess
powerpc-unknown-linux-gnu
configure options: --prefix=/usr --mandir=/usr/man --host=powerpc-unknown-linux-gnu --enable-cxx --enable-mpbsd --with-gnu-ld
config.log.bz2 is in attachment.
[...]
checking for std::locale... yes
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking for assembler label suffix... :
checking for assembler global directive... .globl
checking for assembler global directive attribute...
checking if globals are prefixed by underscore... link: invalid option -- 'd'
Try `link --help' for more information.
unknown
configure: WARNING: +----------------------------------------------------------
configure: WARNING: | Cannot determine global symbol prefix.
configure: WARNING: | link -dump -symbols output doesn't contain a global data symbol.
configure: WARNING: | Will proceed with no underscore.
configure: WARNING: | If this is wrong then you'll get link errors referring
configure: WARNING: | to ___gmpn_add_n (note three underscores).
configure: WARNING: | In this case do a fresh build with an override,
configure: WARNING: | ./configure gmp_cv_asm_underscore=yes
configure: WARNING: +----------------------------------------------------------
checking how to switch to read-only data section... .section .sdata,"aw", at progbits
checking for assembler .type directive... .type $1,@$2
checking for assembler .size directive... .size $1,$2
checking for assembler local label prefix... configure: WARNING: "link -dump -symbols" failure
configure: WARNING: cannot determine local label, using default L
L
checking for assembler byte directive... .byte
checking how to define a 32-bit word... link: invalid option -- 'd'
Try `link --help' for more information.
link: invalid option -- 'd'
Try `link --help' for more information.
configure: error: cannot determine how to define a 32-bit word
i suppose the problem is with host declaration (but with 5.0.0 it works) anyway i'm going to revert to gmp-4.3.2 because i also experimented this error compiling gcc-4.4.3 (and 4.4.2) on powerpc32 platform only (powerpc64 is fine).
/usr/ports/ppc/core/gcc/work/src/build/./prev-gcc/xgcc -B/usr/ports/ppc/core/gcc/work/src/build/./prev-gcc/ -B/usr/powerpc-unknown-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.4.3/gcc -I../../gcc-4.4.3/gcc/. -I../../gcc-4.4.3/gcc/../include -I../../gcc-4.4.3/gcc/../libcpp/include -I../../gcc-4.4.3/gcc/../libdecnumber -I../../gcc-4.4.3/gcc/../libdecnumber/dpd -I../libdecnumber -I/include -I/include -DCLOOG_PPL_BACKEND ../../gcc-4.4.3/gcc/cfg.c -o cfg.o
../../gcc-4.4.3/gcc/cfg.c:1300: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [cfg.o] Error 1
make[3]: Leaving directory `/usr/src/ports/ppc/core/gcc/work/src/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/usr/src/ports/ppc/core/gcc/work/src/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/usr/src/ports/ppc/core/gcc/work/src/build'
make: *** [all] Error 2
=======> ERROR: Building '/usr/ports/ppc/core/gcc/gcc#4.4.3-1.pkg.tar.gz' failed.
thanks,
--
acrux <acrux_it at libero.it>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.bz2
Type: application/octet-stream
Size: 17985 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20100207/8d3a6e2d/attachment-0001.obj>
More information about the gmp-bugs
mailing list