Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 192959
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Woodward Crim Hoffman <hoffman@ppllc.com>
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 192959 depends on: 193364 Show dependency tree
Bug 192959 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: 2007-09-18 19:39 0000
When attempting to cross build binutils for mipsel-softfloat-linux-ulibc, the
compile of chew.c fails.



Reproducible: Always

Steps to Reproduce:
1.Create a cross dev environment for mipsel-softfloat-linux-uclibc
2.In make.conf, set CFLAGS="-Os -march=4kc -pipe"
3.emerge sys-apps/binutils

Actual Results:  
make[4]: Entering directory
`/opt/portage/tmp/portage/sys-devel/binutils-2.17/work/build/bfd/doc'
gcc -o chew.$$
/opt/portage/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/bfd/doc/chew.c
\
          -march=4kc -pipe -O2    \
          -I..
-I/opt/portage/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/bfd/doc/..
-I/opt/portage/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/bfd/doc/../../include
-I/opt/portage/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/bfd/doc/../../intl
-I../../intl; \
        /bin/sh
/opt/portage/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/bfd/doc/../../move-if-change
chew.$$ chew
/opt/portage/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/bfd/doc/chew.c:1:
error: bad value (4kc) for -march= switch
/opt/portage/tmp/portage/sys-devel/binutils-2.17/work/binutils-2.17/bfd/doc/chew.c:1:
error: bad value (4kc) for -mtune= switch



Expected Results:  
mipsel-softfloat-linux-uclibc-gcc should have been used instead of gcc.

sys-apps/setarch, sys-apps/file, sys-python/pycrypto, and
dev-python/python-fchksum all fail in a similar fashion.  Most of the rest of
an "emerge system" builds without problems.

------- Comment #1 From SpanKY 2007-10-06 22:44:59 0000 -------
no, the native gcc should have been used ... the host cflags should not have
been used

------- Comment #2 From SpanKY 2007-10-06 23:16:44 0000 -------
fixed in 2.17-r2 and 2.18-r1

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug