public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/40002]  New: Testsuite not finding libc headers with cross builds and only previous version of GCC installed
@ 2009-05-01 23:21 pinskia at gcc dot gnu dot org
  2009-05-02 17:04 ` [Bug testsuite/40002] " hp at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-01 23:21 UTC (permalink / raw)
  To: gcc-bugs

I have built a 4.4.0 version of GCC and built newlib with that version and
installed it in say /MYPREFIX and then go and try to build 4.5.0.  I then build
GCC with the same /MYPREFIX but not a combined build, the testsuite is not able
to find the libc headers.

I don't know if this a regression because this is the first time I hit it and I
just happened to build 4.5 and was getting many failures this way.

An example of a failure is:
Executing on host: /home/apinski/src/local/gcc/objdir-spu/gcc/xgcc
-B/home/apinski/src/local/gcc/objdir-spu/gcc/   -O0  -w -c  -o 990625-1.o
/home/apinski/src/local/gcc/gcc/testsuite/gcc.c-torture/compile/990625-1.c   
(timeout = 300)
/home/apinski/src/local/gcc/gcc/testsuite/gcc.c-torture/compile/990625-1.c:2:
fatal error: string.h: No such file or directory^M
compilation terminated.^Mcompiler exited with status 1
output is:
/home/apinski/src/local/gcc/gcc/testsuite/gcc.c-torture/compile/990625-1.c:2:
fatal error: string.h: No such file or directory^Mcompilation terminated.^M

FAIL: gcc.c-torture/compile/990625-1.c  -O0  (test for excess errors)Excess
errors:


-- 
           Summary: Testsuite not finding libc headers with cross builds and
                    only previous version of GCC installed
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40002


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug testsuite/40002] Testsuite not finding libc headers with cross builds and only previous version of GCC installed
  2009-05-01 23:21 [Bug testsuite/40002] New: Testsuite not finding libc headers with cross builds and only previous version of GCC installed pinskia at gcc dot gnu dot org
@ 2009-05-02 17:04 ` hp at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: hp at gcc dot gnu dot org @ 2009-05-02 17:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hp at gcc dot gnu dot org  2009-05-02 17:03 -------
This bug has been there for a long time, maybe too old to call it a regression
(I believe older than the currently open branches).
Look for changes in handling of GCC_EXEC_PREFIX internally (not just the
test-suite) and for "relocated" toolchains.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-05-02 17:03:56
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40002


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-02 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-01 23:21 [Bug testsuite/40002] New: Testsuite not finding libc headers with cross builds and only previous version of GCC installed pinskia at gcc dot gnu dot org
2009-05-02 17:04 ` [Bug testsuite/40002] " hp at gcc dot gnu dot org

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).