Re: ld segfaults in OpenBSD 3.9

2006-12-04 Thread Karel Kulhavy
On Fri, Dec 01, 2006 at 03:00:40PM -0600, Dale Rahn wrote: On Fri, Dec 01, 2006 at 09:20:18PM +0100, Karel Kulhavy wrote: The default linker in OpenBSD 3.9 segfaults reproducibly: Perhaps you want to write the file to wav2bin instead of -Wall, and not link the old version with the new one

Re: ld segfaults in OpenBSD 3.9

2006-12-04 Thread Karel Kulhavy
On Fri, Dec 01, 2006 at 03:00:40PM -0600, Dale Rahn wrote: On Fri, Dec 01, 2006 at 09:20:18PM +0100, Karel Kulhavy wrote: The default linker in OpenBSD 3.9 segfaults reproducibly: Perhaps you want to write the file to wav2bin instead of -Wall, and not link the old version with the new one

ld segfaults in OpenBSD 3.9

2006-12-01 Thread Karel Kulhavy
The default linker in OpenBSD 3.9 segfaults reproducibly: [EMAIL PROTECTED]:~$ gcc -o -Wall wav2bin wav2bin.c collect2: ld terminated with signal 11 [Segmentation fault], core dumped wav2bin(.init+0x0): In function `__init': : multiple definition of `__init' /usr/lib/crtbegin.o(.init+0x0): first

Re: ld segfaults in OpenBSD 3.9

2006-12-01 Thread Arnaud Bergeron
On 12/1/06, Karel Kulhavy [EMAIL PROTECTED] wrote: The default linker in OpenBSD 3.9 segfaults reproducibly: [EMAIL PROTECTED]:~$ gcc -o -Wall wav2bin wav2bin.c Try $ gcc -Wall -o wav2bin wav2bin.c But there is still a problem. If you link a source file with its resulting binary, it