* [PATCH] tic54x ld target
@ 2000-06-19 14:04 Timothy Wall
2000-06-19 17:39 ` Alan Modra
0 siblings, 1 reply; 5+ messages in thread
From: Timothy Wall @ 2000-06-19 14:04 UTC (permalink / raw)
To: binutils
Remaining patches for tic54x config/target.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] tic54x ld target
2000-06-19 14:04 [PATCH] tic54x ld target Timothy Wall
@ 2000-06-19 17:39 ` Alan Modra
2000-06-19 18:05 ` ld segmentation fault Brian Chamberlain
0 siblings, 1 reply; 5+ messages in thread
From: Alan Modra @ 2000-06-19 17:39 UTC (permalink / raw)
To: Timothy Wall; +Cc: binutils
On Mon, 19 Jun 2000, Timothy Wall wrote:
> Remaining patches for tic54x config/target.
>
Looks OK to me.
--
Linuxcare. Support for the Revolution.
^ permalink raw reply [flat|nested] 5+ messages in thread
* ld segmentation fault
2000-06-19 17:39 ` Alan Modra
@ 2000-06-19 18:05 ` Brian Chamberlain
2000-06-19 19:21 ` Alan Modra
0 siblings, 1 reply; 5+ messages in thread
From: Brian Chamberlain @ 2000-06-19 18:05 UTC (permalink / raw)
To: binutils
I have binutils-2.10-rc3 installed on an x86 machine
with Mandrake Linux 7.0.
The easiest way to get ld to segfault is to try and build
binutils-2.10-rc3 again after it's been installed.
I get the following error when running configure:
collect2: ld terminated with signal 11 [segmentation fault]
The command 'gcc -o conftest -O2 -mcpu=k6 -fstrict-aliasing
conftest.c' failed.
I'm using the following command to configure binutils:
CFLAGS="-O2 -mcpu=k6 -fstrict-aliasing" ./configure
--prefix=/usr --host=i586-pc-linux-gnu --enable-shared
I have glibc-2.1.3 and gcc-2.95.2 installed.
Any help would be appreciated.
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ld segmentation fault
2000-06-19 18:05 ` ld segmentation fault Brian Chamberlain
@ 2000-06-19 19:21 ` Alan Modra
2000-06-20 7:17 ` Brian Chamberlain
0 siblings, 1 reply; 5+ messages in thread
From: Alan Modra @ 2000-06-19 19:21 UTC (permalink / raw)
To: Brian Chamberlain; +Cc: binutils
On Mon, 19 Jun 2000, Brian Chamberlain wrote:
> I have binutils-2.10-rc3 installed on an x86 machine
> with Mandrake Linux 7.0.
> The easiest way to get ld to segfault is to try and build
> binutils-2.10-rc3 again after it's been installed.
> I get the following error when running configure:
>
> collect2: ld terminated with signal 11 [segmentation fault]
> The command 'gcc -o conftest -O2 -mcpu=k6 -fstrict-aliasing
> conftest.c' failed.
>
> I'm using the following command to configure binutils:
> CFLAGS="-O2 -mcpu=k6 -fstrict-aliasing" ./configure
> --prefix=/usr --host=i586-pc-linux-gnu --enable-shared
>
> I have glibc-2.1.3 and gcc-2.95.2 installed.
I would guess that this is a problem with gcc and -mcpu=k6, or you have
exposed a bug in binutils due to using -fstrict-aliasing. Would you
please try recompiling without one or both of these flags and tell us the
results.
I've just finished recompiling binutils-2.10 (using as-new and ld-new from
a previous compile) without any problems. This was with
--host=i586-linux --prefix=/usr --target=i586-linux --disable-nls
--enable-targets=i586-linuxaout,i586-coff,i586-mingw32,m68k-coff, no
messing with CFLAGS, and gcc version 2.96 20000123.
Regards, Alan Modra
--
Linuxcare. Support for the Revolution.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ld segmentation fault
2000-06-19 19:21 ` Alan Modra
@ 2000-06-20 7:17 ` Brian Chamberlain
0 siblings, 0 replies; 5+ messages in thread
From: Brian Chamberlain @ 2000-06-20 7:17 UTC (permalink / raw)
To: binutils
Thanks, the problem turned out to be the -mcpu=k6 switch.
> I would guess that this is a problem with gcc and -mcpu=k6, or you have
> exposed a bug in binutils due to using -fstrict-aliasing. Would you
> please try recompiling without one or both of these flags and tell us the
> results.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-06-20 7:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-19 14:04 [PATCH] tic54x ld target Timothy Wall
2000-06-19 17:39 ` Alan Modra
2000-06-19 18:05 ` ld segmentation fault Brian Chamberlain
2000-06-19 19:21 ` Alan Modra
2000-06-20 7:17 ` Brian Chamberlain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).