c++/2222: option enable-target-optspace disables _GNU_SOURCE

holler@ahsoftware.de holler@ahsoftware.de
Sun Apr 1 00:00:00 GMT 2001


>Number:         2222
>Category:       c++
>Synopsis:       option enable-target-optspace disables _GNU_SOURCE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 08 02:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Holler
>Release:        2.95.2 19991024
>Organization:
>Environment:
linux
>Description:
Compiling gcc with --enable-target-optspace (e.g. for embedded systems) (config/mt-ospace) overwrites -D_GNU_SOURCE (config/mt-linux). So errors occuring during compile because of missing pthread support (first in iostream.cc).
>How-To-Repeat:
compile gcc with --enable-target-optspace 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list