Summary: | linker incorrectly prepends sysroot to absolute path | ||
---|---|---|---|
Product: | binutils | Reporter: | Stephan Springl <springl-binutils> |
Component: | ld | Assignee: | unassigned |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | bonzini, bug-binutils, carlos, jsm-csl, pinskia |
Priority: | P2 | ||
Version: | 2.18 | ||
Target Milestone: | --- | ||
Host: | i686-pc-linux-gnulibc2 | Target: | i686-pc-linux-gnulibc2 |
Build: | i686-pc-linux-gnulibc2 | Last reconfirmed: |
Description
Stephan Springl
2007-08-28 07:11:24 UTC
You did not configure glibc correctly. You should use --prefix=/usr and install it with install_root=${sysroot}. The whole point of the sysroot feature is that it establishes a chroot style environment. (In reply to comment #1) > You did not configure glibc correctly. You should use --prefix=/usr and > install it with install_root=${sysroot}. The whole point of the sysroot > feature is that it establishes a chroot style environment. I think this needs to be revisited in response to gcc 4.3 changes that have removed the possibility of building a non root toolchain without using sysroot. Apparently the new philosophy of gcc is to use sysroot for all non root installs which forces it to be used in possibly non chroot environments. The gcc bug with references is: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35804 Subject: Re: linker incorrectly prepends sysroot to absolute path Thank you for your message. I am away from my email from 3 to 7 April. Messages sent before 3 April will be read before I go away; messages sent during that period will be read after I return. If you need a response before my return, please contact Nathan Sidwell <nathan@codesourcery.com>. No, this bug is RESOLVED/INVALID. In the configuration described in the initial report, glibc is configured incorrectly for the way it is being used; and the patch is incorrect. If you have a different problem, please report it in a new bug. |