public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/27850]  New: gcov-enabled sh-elf compiler fails to build
@ 2006-05-31 22:17 amylaar at gcc dot gnu dot org
  2006-06-01  4:53 ` [Bug other/27850] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-05-31 22:17 UTC (permalink / raw)
  To: gcc-bugs

In order to build a gcc for a newlib target with a working libgcov,
you need build from a unified source tree and configure using
--with-headers --with-newlib.

Using current mainline sources, when configuring with:
../srcw/configure --target=sh-elf --with-headers --with-newlib

the compiler fails to build with:
mv tmp-specs specs
echo | /mnt/scratch/nightly/2006-05-31/sh-elf/./gcc/xgcc
-B/mnt/scratch/nightly/2006-05-31/sh-elf/./gcc/ -nostdinc
-B/mnt/scratch/nightly/2006-05-31/sh-elf/sh-elf/newlib/ -isystem
/mnt/scratch/nightly/2006-05-31/sh-elf/sh-elf/newlib/targ-include -isystem
/mnt/scratch/nightly/2006-05-31/srcw/newlib/libc/include
-B/usr/local/sh-elf/bin/ -B/usr/local/sh-elf/lib/ -isystem
/usr/local/sh-elf/include -isystem /usr/local/sh-elf/sys-include
-L/mnt/scratch/nightly/2006-05-31/sh-elf/./ld -E -dM - | \
  sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
         -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
  sort -u > tmp-macro_list
/bin/sh ../../srcw/gcc/../move-if-change tmp-macro_list macro_list
echo timestamp > s-macro_list
The directory that should contain system headers does not exist:
  /usr/local/sh-elf/sys-include
make[1]: *** [stmp-fixinc] Error 1
make[1]: Leaving directory `/mnt/scratch/nightly/2006-05-31/sh-elf/gcc'
make: *** [all-gcc] Error 2


-- 
           Summary: gcov-enabled sh-elf compiler fails to build
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: blocker
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
GCC target triplet: sh-elf


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


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

* [Bug other/27850] gcov-enabled sh-elf compiler fails to build
  2006-05-31 22:17 [Bug other/27850] New: gcov-enabled sh-elf compiler fails to build amylaar at gcc dot gnu dot org
@ 2006-06-01  4:53 ` pinskia at gcc dot gnu dot org
  2006-06-01 15:23 ` amylaar at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-01  4:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-06-01 04:53 -------
--with-headers with a combined build is not really a good thing.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


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


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

* [Bug other/27850] gcov-enabled sh-elf compiler fails to build
  2006-05-31 22:17 [Bug other/27850] New: gcov-enabled sh-elf compiler fails to build amylaar at gcc dot gnu dot org
  2006-06-01  4:53 ` [Bug other/27850] " pinskia at gcc dot gnu dot org
@ 2006-06-01 15:23 ` amylaar at gcc dot gnu dot org
  2006-06-02 23:50 ` amylaar at gcc dot gnu dot org
  2006-11-15 16:16 ` amylaar at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-06-01 15:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from amylaar at gcc dot gnu dot org  2006-06-01 15:23 -------
(In reply to comment #1)
> --with-headers with a combined build is not really a good thing.
> 
--with-headers is required for cross compilers in order to build a working
libgcov.  A working libgcov is required for profiling and profile-directed
optimizations, and hence for a successfull regression test.


-- 


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


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

* [Bug other/27850] gcov-enabled sh-elf compiler fails to build
  2006-05-31 22:17 [Bug other/27850] New: gcov-enabled sh-elf compiler fails to build amylaar at gcc dot gnu dot org
  2006-06-01  4:53 ` [Bug other/27850] " pinskia at gcc dot gnu dot org
  2006-06-01 15:23 ` amylaar at gcc dot gnu dot org
@ 2006-06-02 23:50 ` amylaar at gcc dot gnu dot org
  2006-11-15 16:16 ` amylaar at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-06-02 23:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from amylaar at gcc dot gnu dot org  2006-06-02 23:50 -------
Subject: Bug 27850

Author: amylaar
Date: Fri Jun  2 23:50:11 2006
New Revision: 114332

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114332
Log:
        PR other/27850
        * Makefile.in (stmp-fixinc): Fix typo.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in


-- 


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


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

* [Bug other/27850] gcov-enabled sh-elf compiler fails to build
  2006-05-31 22:17 [Bug other/27850] New: gcov-enabled sh-elf compiler fails to build amylaar at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-06-02 23:50 ` amylaar at gcc dot gnu dot org
@ 2006-11-15 16:16 ` amylaar at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-11-15 16:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from amylaar at gcc dot gnu dot org  2006-11-15 16:16 -------
Fixed with patch from Jun  2 23:50:11 2006


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2006-11-15 16:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-31 22:17 [Bug other/27850] New: gcov-enabled sh-elf compiler fails to build amylaar at gcc dot gnu dot org
2006-06-01  4:53 ` [Bug other/27850] " pinskia at gcc dot gnu dot org
2006-06-01 15:23 ` amylaar at gcc dot gnu dot org
2006-06-02 23:50 ` amylaar at gcc dot gnu dot org
2006-11-15 16:16 ` amylaar 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).