This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/7088: host-x-host builds install broken limits.h


>Number:         7088
>Category:       other
>Synopsis:       host-x-host builds install broken limits.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 20 10:16:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     drow@false.org
>Release:        3.0, 3.1, HEAD
>Organization:
>Environment:

>Description:
If $(LIMITS_H_TEST) is true, then the built <limits.h>
references "syslimits.h".  This test checks
$(SYSTEM_HEADER_DIR), which is /usr/include in a typical
host-x-host build (building a native compiler for a different
target).

Syslimits.h is only installed if fixincludes is run, which
it is not for host-x-host builds; it's explicitly disabled:

# And these apply if build != host.
if test x$build != x$host
then
...
    STMP_FIXINC=
...
fi

$(LIMITS_H_TEST) is a bit bogus anyway.

This is a regression from 2.95, where fixinc was run
regardless, and thus "syslimits.h" was installed.
>How-To-Repeat:

>Fix:

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