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

drow@false.org drow@false.org
Thu Jun 20 12:36:00 GMT 2002


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



More information about the Gcc-bugs mailing list