First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 210039
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 210039 depends on: Show dependency tree
Bug 210039 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-13 19:37 0000
here is the current code:
    if use amd64 || use ppc64 || use ia64 || use s390; then
        myconf="${myconf} --enable-64bit"
    else
        myconf=""
    fi

problems:
 - s390 is not a 64bit arch ... s390x is ... but s390x is not a KEYWORD.  s390
and s390x both use the s390 KEYWORD.
 - 64bit mips is ignored

if the build system is so terrible it cannot do the 64bit detection itself,
then use the toolchain to produce an object and run file on it:
echo > "${T}"/test.c
$(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
case $(file "${T}"/test.o) in
    *64-bit*) myconf="${myconf} --enable-64bit"
    *32-bit*) ;;
    *) die "FAIL";;
esac

------- Comment #1 From Raúl Porcel 2008-02-14 11:11:04 0000 -------
Added, thanks

First Last Prev Next    No search results available      Search page      Enter new bug