First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 190510
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bob Deblier <bob.deblier@telenet.be>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cross-ia64-unknown-linux-gnu-linux-headers.log Log file text/plain Bob Deblier 2007-08-28 12:41 0000 103.31 KB Details
cross-ia64-unknown-linux-gnu-glibc-headers.log cross-ia64-unknown-linux-gnu-glibc-headers.log text/plain Bob Deblier 2007-08-28 18:30 0000 3.68 KB Details
cross-ia64-unknown-linux-gnu-info.log cross-ia64-unknown-linux-gnu-info.log text/plain Bob Deblier 2007-08-28 18:31 0000 9.66 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 190510 depends on: Show dependency tree
Bug 190510 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-08-28 12:40 0000
I think there's a problem in the build sequence for toolchains
ia64-unknown-linux-gnu; after building binutils it proceeds with glibc-headers
(which fails because it needs ia64-unknown-linux-gnu-cpp) instead of with gcc
stage 1.


Reproducible: Always

Steps to Reproduce:
1. crossdev -S -t ia64-unknown-linux-gnu


Actual Results:  

Output:

--------------------------------------------------------------------------------
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   ia64
 * Target System:         ia64-unknown-linux-gnu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[stable]
 * gcc:                   gcc-[stable]
 * headers:               linux-headers-[stable]
 * libc:                  glibc-[stable]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/ia64-unknown-linux-gnu
 * PORTAGE_TMPDIR:        /var/tmp/cross/ia64-unknown-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...     [ ok
]
 * Log: /var/log/portage/cross-ia64-unknown-linux-gnu-binutils.log
 * Emerging cross-binutils ...                                            [ ok
]
 * Log: /var/log/portage/cross-ia64-unknown-linux-gnu-linux-headers-quick.log
 * Emerging cross-linux-headers-quick ...                                 [ ok
]
 * Log: /var/log/portage/cross-ia64-unknown-linux-gnu-glibc-headers.log
 * Emerging cross-glibc-headers ...

 * glibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-ia64-unknown-linux-gnu-info.log
 * /var/log/portage/cross-ia64-unknown-linux-gnu-glibc-headers.log

------- Comment #1 From Bob Deblier 2007-08-28 12:41:25 0000 -------
Created an attachment (id=129471) [edit]
Log file

------- Comment #2 From SpanKY 2007-08-28 14:05:21 0000 -------
you posted the wrong log files ... you should have posted:
/var/log/portage/cross-ia64-unknown-linux-gnu-info.log
/var/log/portage/cross-ia64-unknown-linux-gnu-glibc-headers.log

but you attached:
/var/log/portage/cross-ia64-unknown-linux-gnu-linux-headers-quick.log

please re-open once you've posted the correct ones

------- Comment #3 From Bob Deblier 2007-08-28 18:30:33 0000 -------
Created an attachment (id=129497) [edit]
cross-ia64-unknown-linux-gnu-glibc-headers.log

------- Comment #4 From Bob Deblier 2007-08-28 18:31:03 0000 -------
Created an attachment (id=129499) [edit]
cross-ia64-unknown-linux-gnu-info.log

------- Comment #5 From Bob Deblier 2007-08-28 18:35:59 0000 -------
Requested log files provided. As mentioned earlier, the problem is the apparent
absence of ia64-unknown-linux-gnu-cpp, which is not built until gcc stage 1.

Looks like a classic chicken-and-the-egg problem: to build the headers you need
the compiler, but the compiler apparently needs the headers. From looking
inside the crossdev script I can see that ia64 is a special case, which gets a
special flag (WITH_DEF_HEADERS) set to "yes".

------- Comment #6 From SpanKY 2007-10-07 03:43:18 0000 -------
fixed in cvs

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