This is the mail archive of the libstdc++-prs@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]