Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 103180 - ld dumps core when linking optimized cryptcat
ld dumps core when linking optimized cryptcat
Product: Red Hat Linux Beta
Classification: Retired
Component: binutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
: 102775 103885 (view as bug list)
Depends On:
Blocks: CambridgeTarget
  Show dependency treegraph
Reported: 2003-08-27 08:41 EDT by Chris Ricker
Modified: 2007-04-18 12:57 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-08 04:05:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
cryptcat src rpm (90.63 KB, application/octet-stream)
2003-08-27 08:42 EDT, Chris Ricker
no flags Details

  None (edit)
Description Chris Ricker 2003-08-27 08:41:16 EDT
See attached cryptcat SRPM

On RHL 9, it's fine to rpmbuild -ba 
On severn yum'ed to rawhide, I get the following when building it:

cc -O2 -g -pipe -march=i386 -mcpu=i686 -c twofish2.cc
cc -O2 -g -pipe -march=i386 -mcpu=i686 -s         -DLINUX  -o cryptcat netcat.c
farm9crypt.o twofish2.o -lstdc++
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[1]: *** [cryptcat] Error 1

If I edit the spec file and change the line

make CFLAGS="$RPM_OPT_FLAGS" linux


make linux

then it compiles on rawhide, so it's only a problem when optimizing the code....
Comment 1 Chris Ricker 2003-08-27 08:42:11 EDT
Created attachment 93971 [details]
cryptcat src rpm
Comment 2 Chris Ricker 2003-08-27 12:22:59 EDT
Hmm, it's not an optimization issue after all, but the debugging info. The
problem is the -g that RPM_OPT_FLAGS adds.

cc -O2 -pipe -march=i386 -mcpu=i686 -s         -DLINUX  -o cryptcat netcat.c
farm9crypt.o twofish2.o -lstdc++

compiles just fine

cc -O2 -g -s -DLINUX -o cryptcat netcat.c farm9crypt.o twofish2.o -lstdc++

blows up when linking

this is


on an athlon
Comment 3 Chris Ricker 2003-08-27 12:33:00 EDT
Just yum'ed to today's rawhide

still true with glibc-2.3.2-78
Comment 4 Michael Lee Yohe 2003-08-28 12:17:21 EDT
I also get this whilst attempting to compile Rawhide man.
Comment 5 Michael Schwendt 2003-09-02 16:12:40 EDT
Same with svgalib from Fedora package request queue:

collect2: ld terminated with signal 11 [Segmentation fault]

* binutils- from Severn Updates (9.0.93-4)

The older binutils- from original Severn doesn't have that problem.
Comment 6 Jakub Jelinek 2003-09-08 04:03:43 EDT
*** Bug 103885 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Jelinek 2003-09-08 04:05:42 EDT
Should be fixed in
Comment 8 Jakub Jelinek 2003-09-08 05:24:50 EDT
*** Bug 102775 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.