public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/6228: [3.1 regression] _GNU_SOURCE not defined for arm-linux target
@ 2002-04-08  7:06 jeroen.dobbelaere
  0 siblings, 0 replies; 2+ messages in thread
From: jeroen.dobbelaere @ 2002-04-08  7:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6228
>Category:       target
>Synopsis:       [3.1 regression] _GNU_SOURCE not defined for arm-linux target
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 08 07:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     jeroen.dobbelaere@acunia.com
>Release:        3.1 20020408 (prerelease)
>Organization:
>Environment:
System: Linux xingu-07 2.4.16-rmk1-xng1 #45 Mon Apr 8 11:19:11 CEST 2002 armv5l unknown
Architecture: armv5l
host: armv5l-unknown-linux-gnu
build: armv5l-unknown-linux-gnu
target: armv5l-unknown-linux-gnu
configured with: ../gcc-3.1.0-pre20020408/configure --prefix=/tmp/gcc310pre --with-cpu=xscale --enable-languages=c,c++

>Description:
        C++ tests fail on arm because '_GNU_SOURCE' is not defined.
        This is a regression with respect to gcc-3.0.4


        build compiler for c,c++; execute the build tests.
        libstdc++ tests will look like :
Running /usr/src/build/tmp/gcc-3.1.0-pre20020408/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp ...
FAIL: 17_intro/header_cstdio.cc (test for excess errors)
WARNING: 17_intro/header_cstdio.cc compilation failed to produce executable
FAIL: 17_intro/header_cstdlib.cc (test for excess errors)
WARNING: 17_intro/header_cstdlib.cc compilation failed to produce executable
FAIL: 17_intro/header_cwchar.cc (test for excess errors)
WARNING: 17_intro/header_cwchar.cc compilation failed to produce executable
FAIL: 17_intro/header_fstream.cc (test for excess errors)
WARNING: 17_intro/header_fstream.cc compilation failed to produce executable
FAIL: 17_intro/header_iomanip.cc (test for excess errors)
WARNING: 17_intro/header_iomanip.cc compilation failed to produce executable
FAIL: 17_intro/header_ios.cc (test for excess errors)
WARNING: 17_intro/header_ios.cc compilation failed to produce executable
FAIL: 17_intro/header_iosfwd.cc (test for excess errors)
WARNING: 17_intro/header_iosfwd.cc compilation failed to produce executable
FAIL: 17_intro/header_iostream.cc (test for excess errors)
WARNING: 17_intro/header_iostream.cc compilation failed to produce executable
FAIL: 17_intro/header_istream.cc (test for excess errors)
WARNING: 17_intro/header_istream.cc compilation failed to produce executable
>How-To-Repeat:
Get an arm system, build your compiler for c,c++.
make the test suite.
>Fix:
        Add

/* The GNU C++ standard library requires that these macros be defined.  */
#undef CPLUSPLUS_CPP_SPEC
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"

        to 'gcc/arm/linux-elf.h'


(see <http://gcc.gnu.org/ml/gcc-patches/2002-03/msg00575.html>)
>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: target/6228: [3.1 regression] _GNU_SOURCE not defined for arm-linux target
@ 2002-04-18 13:42 rth
  0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-04-18 13:42 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jeroen.dobbelaere, nobody

Synopsis: [3.1 regression] _GNU_SOURCE not defined for arm-linux target

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Thu Apr 18 13:42:27 2002
State-Changed-Why:
    2002-04-14  Jeroen Dobbelaere  <jeroen.dobbelaere@acunia.com>
    
            * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.

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


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

end of thread, other threads:[~2002-04-18 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-08  7:06 target/6228: [3.1 regression] _GNU_SOURCE not defined for arm-linux target jeroen.dobbelaere
2002-04-18 13:42 rth

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