libstdc++/69: configure non-portability (-ffunction-sections)

donnte@microsoft.com donnte@microsoft.com
Fri Jun 30 17:57:00 GMT 2000


>Number:         69
>Category:       libstdc++
>Synopsis:       configure non-portability (-ffunction-sections)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 30 17:57:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     donnte@microsoft.com
>Release:        unknown-1.0
>Organization:
>Environment:
Interix
>Description:
configure wrongly concludes that -ffunction-sections is
supported when it is not.  Mostly, this is beningn because
in most places, it's only a warning anyway.  However, in
building one file, -Werror is set, and the warning that
-ffunction-sections is set becomes an error.

-Werror needs to be set in acinclude.m4, line 230, where
CXXFLAGS is set to -ffunction-sections...
>How-To-Repeat:
Use a version of gcc that doesn't support -ffunction-sections.
>Fix:
Add -Werror to set of CXXFLAGS at line 230.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Libstdc++-prs mailing list