First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 152841
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jonathan Adamczewski <jadamcze@utas.edu.au>
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 152841 depends on: Show dependency tree
Bug 152841 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: 2006-10-25 22:12 0000
ROOT=/blah/ PORTAGE_CONFIGROOT=/blah/ sudo emerge mdadm

/ is amd64
/blah/ is i686

gcc is invoked by mdadm's Makefile which - in this case - produces an error
(error: CPU you selected does not support x86-64 instruction set) as gcc is
invoked with -march=athlon-xp for the hosted environment.

Solution : to have Makefile invoke more specific gcc (i686-pc-linux-gnu-gcc in
this case)

Makefile seems to have support for setting $CROSS_COMPILE to specify prefix to
gcc.

------- Comment #1 From Jonathan Adamczewski 2006-10-25 22:26:12 0000 -------
Adding the following line below emake in the ebuild seems to give correct
results on amd64 and x86.


                CROSS_COMPILE="${CHOST}-" \

------- Comment #2 From SpanKY 2006-10-26 12:53:14 0000 -------
added your fix to the 2.5.5 ebuild, thanks !

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