Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.
/trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
1 # Bare metal config options
3 config KERNEL_bare_metal
6 Say 'y' here if you want a simple C compiler with no C library.
8 'Bare metal' also refer to those programs that run without any kernel.
10 You probably want to say 'y' here if you plan to use your compiler
11 to build only kernels or bootloaders.