pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46621: lang/gcc46 @ linux amd64 fails to build as it thinks it's a 32bit system



>Number:         46621
>Category:       pkg
>Synopsis:       lang/gcc46 @ linux amd64 fails to build as it thinks it's a 
>32bit system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 22 11:30:00 +0000 2012
>Originator:     Jan Smydke
>Release:        Linux
>Organization:
>Environment:
Linux 2.6.38.6
>Description:
lang/gcc46 (and according to buildlogs also other gccs) fails to build on a 
Linux amd64 machine.

Apparently it thinks it's a 32bit machine since in /usr/include/bits/wordize.h 
there is no __x86_64__ defined.

As a result the /usr/include/gnu/stubs.h requires to include stubs-32.h 
(instead of stubs-64.h), which is obviously unavailable.

Applies to both pkgsrc-2012Q1 and current (as of 20120621)
>How-To-Repeat:
just build lang/gcc46 at Linux amd64 box
>Fix:



Home | Main Index | Thread Index | Old Index