This is the mail archive of the
libstdc++-prs@sourceware.cygnus.com
mailing list for the libstdc++ project.
libstdc++/69: configure non-portability (-ffunction-sections)
- To: libstdc++-gnats at sourceware dot cygnus dot com
- Subject: libstdc++/69: configure non-portability (-ffunction-sections)
- From: donnte at microsoft dot com
- Date: 1 Jul 2000 00:48:15 -0000
- Reply-To: donnte at microsoft dot com
- Resent-Cc: libstdc++-prs at sourceware dot cygnus dot com
- Resent-Reply-To: libstdc++-gnats@sourceware.cygnus.com, donnte@microsoft.com
>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: