public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/3992: Build failures for all non-native mips targets
@ 2001-08-24 17:26 bkoz
0 siblings, 0 replies; 3+ messages in thread
From: bkoz @ 2001-08-24 17:26 UTC (permalink / raw)
To: bkoz, gcc-bugs, gcc-prs, jlarmour, nobody
Synopsis: Build failures for all non-native mips targets
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Fri Aug 24 17:26:32 2001
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->analyzed
State-Changed-By: bkoz
State-Changed-When: Fri Aug 24 17:26:32 2001
State-Changed-Why:
This was worked around in mainline with this:
2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
* configure.target: Remove mips from cpu table.
* config/cpu/mips/bits/atomicity.h: Remove generic
versions. Comment sgidefs include.
this issue is still pending, as there seems to be chaos in the mips configurey. Eric Christopher is thinking about a fix.
If you'd like, you can bring this patch over to the branch in the meantime. Please consider this pre-approved.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3992&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libstdc++/3992: Build failures for all non-native mips targets
@ 2002-02-24 7:45 rodrigc
0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-02-24 7:45 UTC (permalink / raw)
To: bkoz, gcc-bugs, gcc-prs, jlarmour
Synopsis: Build failures for all non-native mips targets
State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Feb 24 07:41:15 2002
State-Changed-Why:
Following patch was committed to gcc 3.0 branch:
2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
* configure.target: Remove mips from cpu table.
* config/cpu/mips/bits/atomicity.h: Remove generic
versions. Comment sgidefs include.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3992
^ permalink raw reply [flat|nested] 3+ messages in thread
* libstdc++/3992: Build failures for all non-native mips targets
@ 2001-08-10 22:16 jlarmour
0 siblings, 0 replies; 3+ messages in thread
From: jlarmour @ 2001-08-10 22:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 3992
>Category: libstdc++
>Synopsis: Build failures for all non-native mips targets
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 10 22:16:04 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Larmour
>Release: gcc-3_0-branch
>Organization:
>Environment:
linux host, mips-tx39-elf target, for example.
All non-SGI MIPS targets would be affected.
>Description:
Building libstdc++-v3 for a non-SGI MIPS target such as
mips-tx39-elf results in a build failure such as:
/home/jlarmour/sourceware/gcc/build/mipstx39-elf/mips-tx39-elf/libstdc++-v3/include/mips-tx39-elf/bits/atomicity.h:33:21: sgidefs.h: No such file or directory
This is because config/cpu/mips/bits/atomicity.h includes
<sgidefs.h> unconditionally. This file AFAIK only exists
on SGI systems. Not on newlib targets, nor probably
Linux/MIPS.
>How-To-Repeat:
configure --target mips-tx39-elf
make
>Fix:
Probably the easiest fix is simply to reflect the current
reality:
Index: configure.target
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/configure.target,v
retrieving revision 1.14.2.7
diff -u -5 -p -r1.14.2.7 configure.target
--- configure.target 2001/07/26 05:01:52 1.14.2.7
+++ configure.target 2001/08/11 04:03:05
@@ -37,11 +37,11 @@ case "${target_cpu}" in
cpu_include_dir="config/cpu/i386"
;;
i486 | i586 | i686 | i786)
cpu_include_dir="config/cpu/i486"
;;
- mips*)
+ mips*-*-irix*)
cpu_include_dir="config/cpu/mips"
;;
powerpc | rs6000)
cpu_include_dir="config/cpu/powerpc"
;;
So the generic case will pick up the rest.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-24 15:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-24 17:26 libstdc++/3992: Build failures for all non-native mips targets bkoz
-- strict thread matches above, loose matches on Subject: below --
2002-02-24 7:45 rodrigc
2001-08-10 22:16 jlarmour
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).