[367] in Pthreads mailing list archive
bfd assertion fail elfcode.h:4716
daemon@ATHENA.MIT.EDU (Tristan RAMBO Savatier)
Thu Jul 25 02:00:16 1996
Date: Wed, 24 Jul 1996 22:49:18 -0700
From: Tristan RAMBO Savatier <tristan@mpeg.org>
Cc: pthreads@MIT.EDU
In pthreads-1_60_beta5, all the test examples are compiled
with the script pgcc, which uses the gcc -static flag.
However, when I tried compiling/linking the pthreads test "test_switch"
without the -static flag, I ran into the following
bizare error of gcc:
bfd assertion fail elfcode.h:4716
bfd assertion fail elf32-i386.c:624
and the binary produced does not work...
1) have I discovered a new bug of gcc ?
2) Is it possible to use pthreads without using static linking ?
I would like to use X11, and linking statically with large
libraries makes my program very large.
Versions used:
pthreads-1_60_beta5
gcc version 2.7.0
Linux tristan 2.0.0 #4 Thu Jun 20 02:23:54 PDT 1996 i586
--
Regards,
-- Tristan Savatier (mailto:tristan@mpeg.org - http://www.mpeg.org)
"My karma ran over my dogma"