public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26484]  New: GCC 3.4.5 fails to build on intel mac
@ 2006-02-27 17:18 gcc at junk dot kraney dot com
  2006-02-27 17:20 ` [Bug target/26484] " pinskia at gcc dot gnu dot org
  2006-02-27 17:23 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: gcc at junk dot kraney dot com @ 2006-02-27 17:18 UTC (permalink / raw)
  To: gcc-bugs

bootstrapping GCC 3.4.5 (using the gcc4.0 compiler) fails with the following
error:

(SHLIB_LINK='' \
SHLIB_MULTILIB=''; \
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error  -DHAVE_CONFIG_H   
-I. -I. -I. -I./. -I./../include -I../intl \
  -DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/usr/libexec/gcc/\"
-DDEFAULT_TARGET_VERSION=\"3.4.5\"
-DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin8.5.2\"
-DSTANDARD_BINDIR_PREFIX=\"/usr/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" 
`test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo
"-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo
"-DNO_SHARED_LIBGCC_MULTILIB"` \
  -c ./gcc.c -o gcc.o)
./gcc.c:714: warning: string length '2483' is greater than the length '509' ISO
C89 compilers are required to support
./gcc.c:721: warning: string length '636' is greater than the length '509' ISO
C89 compilers are required to support
./gcc.c:904: warning: string length '529' is greater than the length '509' ISO
C89 compilers are required to support
./gcc.c:922: warning: string length '608' is greater than the length '509' ISO
C89 compilers are required to support
./gcc.c:1093: error: parse error before ',' token
./gcc.c:1504: warning: string length '833' is greater than the length '509' ISO
C89 compilers are required to support
make[2]: *** [gcc.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2


the problem is in gcc/config/darwin.h, in the TARGET_OPTION_TRANSLATE_TABLE
macro. This macro ends with ", SUBTARGET_OPTION_TRANSLATE_TABLE", but
SUBTARGET... is empty, so gcc doesn't like the trailing comma.


-- 
           Summary: GCC 3.4.5 fails to build on intel mac
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at junk dot kraney dot com
  GCC host triplet: i686-apple-darwin8.5.2
GCC target triplet: i686-apple-darwin8.5.2


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


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

* [Bug target/26484] GCC 3.4.5 fails to build on intel mac
  2006-02-27 17:18 [Bug c/26484] New: GCC 3.4.5 fails to build on intel mac gcc at junk dot kraney dot com
@ 2006-02-27 17:20 ` pinskia at gcc dot gnu dot org
  2006-02-27 17:23 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-27 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-27 17:18 -------
Fixed for the mainline (4.2.0) and not going to be fixed for any other branch. 
The port was fundematly broken before that point.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |target
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


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

* [Bug target/26484] GCC 3.4.5 fails to build on intel mac
  2006-02-27 17:18 [Bug c/26484] New: GCC 3.4.5 fails to build on intel mac gcc at junk dot kraney dot com
  2006-02-27 17:20 ` [Bug target/26484] " pinskia at gcc dot gnu dot org
@ 2006-02-27 17:23 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-27 17:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-27 17:21 -------
*** Bug 26485 has been marked as a duplicate of this bug. ***


-- 


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


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

end of thread, other threads:[~2006-02-27 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-27 17:18 [Bug c/26484] New: GCC 3.4.5 fails to build on intel mac gcc at junk dot kraney dot com
2006-02-27 17:20 ` [Bug target/26484] " pinskia at gcc dot gnu dot org
2006-02-27 17:23 ` pinskia 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).