Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 228969
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: cyrillic <cyrilmaley@hotmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cross-i686-pc-linux-gnu-info.log /var/log/portage/cross-i686-pc-linux-gnu-info.log text/plain cyrillic 2008-06-22 21:49 0000 8.34 KB Details
cross-i686-pc-linux-gnu-gcc-stage1.log /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log text/plain cyrillic 2008-06-22 21:50 0000 722.15 KB Details
cross-i686-pc-linux-gnu-gcc-stage2.log /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage2.log text/plain cyrillic 2008-06-23 23:40 0000 83 bytes Details
cross-powerpc-unknown-linux-gnu-glibc-headers.log /var/log/portage/cross-powerpc-unknown-linux-gnu-glibc-headers.log text/plain cyrillic 2008-06-23 23:44 0000 13.07 KB Details
cross-i586-gentoo-linux-uclibc-uclibc-headers.log /var/log/portage/cross-i586-gentoo-linux-uclibc-uclibc-headers.log text/plain cyrillic 2008-06-23 23:45 0000 40.73 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 228969 depends on: Show dependency tree
Bug 228969 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-06-22 21:46 0000
The changes since gcc-4.2 result in no longer being able to setup a
cross-toolchain.

Reproducible: Always

Steps to Reproduce:
1. Start with an up-to-date ~amd64 system
2. crossdev --target i686-pc-linux-gnu
3. crossdev --target powerpc-unknown-linux-gnu
4. crossdev --target i586-gentoo-linux-uclibc
5. etc.
Actual Results:  
In each case, cross-binutils will compile fine, but the first pass of cross-gcc
will fail.

Expected Results:  
Several working cross-toolchains that I can use with distccd

------- Comment #1 From cyrillic 2008-06-22 21:49:30 0000 -------
Created an attachment (id=158045) [details]
/var/log/portage/cross-i686-pc-linux-gnu-info.log

------- Comment #2 From cyrillic 2008-06-22 21:50:22 0000 -------
Created an attachment (id=158047) [details]
/var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log

------- Comment #3 From SpanKY 2008-06-23 00:38:28 0000 -------

*** This bug has been marked as a duplicate of bug 227065 ***

------- Comment #4 From cyrillic 2008-06-23 23:37:42 0000 -------
(In reply to comment #3)
Thank you for taking a look at this so quickly.

I just upgraded from crossdev-0.9.18-r8 to -r9, and here are the results :

i686-pc-linux-gnu now completes --stage4 without errors, but it seems that
compiling the c++ compiler was skipped. "i686-pc-linux-gnu-gcc -v" confirmed
this.

I ran a second pass with --ex-gcc, and now I have c/c++/fortran support, so I
am happy.

------- Comment #5 From cyrillic 2008-06-23 23:40:27 0000 -------
Created an attachment (id=158165) [details]
/var/log/portage/cross-i686-pc-linux-gnu-gcc-stage2.log

------- Comment #6 From cyrillic 2008-06-23 23:43:39 0000 -------
However, the other 2 targets I wanted (powerpc-unknown-linux-gnu and
i586-gentoo-linux-uclibc) failed with errors on their libc-headers.

------- Comment #7 From cyrillic 2008-06-23 23:44:42 0000 -------
Created an attachment (id=158167) [details]
/var/log/portage/cross-powerpc-unknown-linux-gnu-glibc-headers.log

------- Comment #8 From cyrillic 2008-06-23 23:45:22 0000 -------
Created an attachment (id=158169) [details]
/var/log/portage/cross-i586-gentoo-linux-uclibc-uclibc-headers.log

------- Comment #9 From SpanKY 2008-06-24 03:49:29 0000 -------
this isnt a mondo bug to dump every random cross-compile issue you hit

------- Comment #10 From cyrillic 2008-06-24 13:39:29 0000 -------
(In reply to comment #9)
I'm sorry about that.  I didn't realize how involved this problem would be.

Back when I was running gcc-4.2.3, crossdev worked flawlessly on those 3
targets.
Upon upgrading to gcc-4.3.0/4.3.1, Pandora's box is now opened :)

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