public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/4183: gcc 3.0.1 fails to build on linux for sh-coff,sh-hms for language c++
@ 2002-02-24 11:01 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-02-24 11:01 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gnuteam, nobody, rekhad

Synopsis: gcc 3.0.1 fails to build on linux for sh-coff,sh-hms for language c++

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Feb 24 10:13:19 2002
State-Changed-Why:
    Duplicate of PR 4165:
    http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&database=gcc&pr=4165

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4183


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

* libstdc++/4183: gcc 3.0.1 fails to build on linux for sh-coff,sh-hms for language c++
@ 2001-08-30 23:06 gnuteam
  0 siblings, 0 replies; 2+ messages in thread
From: gnuteam @ 2001-08-30 23:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: rekhad

>Number:         4183
>Category:       libstdc++
>Synopsis:       gcc 3.0.1 fails to build on linux for sh-coff,sh-hms for language c++
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 30 23:06:09 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     self
>Release:        gcc 3.0.1
>Organization:
>Environment:
linux Redhat 6.2
>Description:
While building the sh-coff & sh-hms tool chain the binutils (2.11.2), gcc core compiler and newlib (1.9.0) got build successfully. The final build for gcc full compiler fails with the following error....

../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:397:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:398:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:399:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:400:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:401:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:402:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:403:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:404:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:405:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:406:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/md5.c:407:7: warning: function-like macro "FI" must be used with arguments in traditional C
../../../../../../fsfsrc/gcc-3.0.1/libiberty/strsignal.c: In function `psignal':
../../../../../../fsfsrc/gcc-3.0.1/libiberty/strsignal.c:599: warning: comparison between signed and unsigned
../../../../../../fsfsrc/gcc-3.0.1/libiberty/strdup.c: In function `strdup':
../../../../../../fsfsrc/gcc-3.0.1/libiberty/strdup.c:5: warning: implicit declaration of function `malloc'
../../../../../../fsfsrc/gcc-3.0.1/libiberty/strdup.c:5: warning: implicit declaration of function `strlen'
../../../../../../fsfsrc/gcc-3.0.1/libiberty/strdup.c:8: warning: implicit declaration of function `strcpy'
../../../../../fsfsrc/gcc-3.0.1/libstdc++-v3/libsupc++/eh_personality.cc: In 
function `void __cxa_call_unexpected(_Unwind_Exception*)':
../../../../../fsfsrc/gcc-3.0.1/libstdc++-v3/libsupc++/eh_personality.cc:403: warning: new
declaration `void __cxa_call_unexpected(_Unwind_Exception*)'
../../../../../fsfsrc/gcc-3.0.1/libstdc++-v3/libsupc++/eh_personality.cc:403: warning: ambiguates
built-in declaration `void __cxa_call_unexpected(void*)'
/tmp/ccNr8TAE.s: Assembler messages:
/tmp/ccNr8TAE.s:555: Error: Rest of line ignored. First ignored character is `<'.
make[3]: *** [basic_file.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-target-libstdc++-v3] Error 2

Build for sh-elf tool chain for gcc 3.0.1 is successful. The sh-coff & sh-hms build is successful if the languages specified is only c and not c++. 
>How-To-Repeat:
1. Build binutils 2.11.2
2. Configure gcc with --enable-languages=c,c++ --target=sh- coff --with-newlib --prefix=/usr/.. 
make LANGUAGES="c c++" all-gcc
make LANGUAGES="c c++" install-gcc
3. Build Newlib 1.9.0
4. Make the final Gcc (Build fail occurs at this stage.)
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-02-24 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-24 11:01 libstdc++/4183: gcc 3.0.1 fails to build on linux for sh-coff,sh-hms for language c++ rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-08-30 23:06 gnuteam

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