Skip to content
Tcl Source Code View Ticket
Login

View Ticket

ld segfaults in build on alpha

Closed / Invalid797667ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-08-30 05:07:26
Build of tcl fails as follows. 
 
gcc -pipe -rdynamic  tclAppInit.o -L/usr/src/tcl8.4.4/unix -ltcl8.4 -ldl 
-lpthread -lieee -lm \ 
        -Wl,-rpath,/usr/lib -o tclsh 
collect2: ld terminated with signal 11 [Segmentation fault], core 
dumped 
/usr/bin/ld: BFD 2.13.2 assertion fail 
../../binutils-2.13.2/bfd/elf64-alpha.c:4663 
make: *** [tclsh] Error 1 
 
Tcl version 8.4.4. The same behaviour is observed with tlc.8.4b2 
and tk8.4.2. 
OS is linux 2.4.20 on alpha ev6 
gcc is 3.2.2. 
as, ld etc 2.13.2. Same behaviour observed with 2.12.90. 
 
The same configuration has built Linux From Scratch plus X11, 
KDE and numerous other systems. 
 
Note that the configuration did not accept --enable-64bit and 
numerous warnings regarding mismatch of arguments were 
observed.
mdejongplain2003-09-12 13:24:55
Logged In: YES 
user_id=90858

You should not need to pass --enable-64bit since that should
be the default on alpha systems. It is not clear how this
issue can be solved by changing something in Tcl. This seems
like a bug in the toolchain on alpha. I would ask you to submit
this as a bug report to the gcc project, note the assert in
fd/elf64-alpha.c:4663 in your bug report.
Log in (anonymous is fine) to add a comment.