[Bug c/51206] Building Cross-Compiler for Linux/x86_64 multilibs fails due to FLAGS_FOR_TARGET

gcc at rkeene dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 18 09:47:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51206

--- Comment #1 from gcc at rkeene dot org 2011-11-18 08:27:00 UTC ---
If I remove the "-B.../lib" argument from
x86_64-slackware-linux/libgcc/Makefile then both the 32-bit and the 64-bit
libgcc builds complete.

That is, if I change the line from:
CC =
/home/rkeene/root/cross-compilers/build-cc/gcc-x86_64-slackware-linux/./gcc/xgcc
-B/home/rkeene/root/cross-compilers/build-cc/gcc-x86_64-slackware-linux/./gcc/
-B/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux/bin/
-B/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux/lib/
-isystem
/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux/include
-isystem
/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux/sys-include
--sysroot=/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux


to:

CC =
/home/rkeene/root/cross-compilers/build-cc/gcc-x86_64-slackware-linux/./gcc/xgcc
-B/home/rkeene/root/cross-compilers/build-cc/gcc-x86_64-slackware-linux/./gcc/
-B/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux/bin/
-isystem
/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux/include
-isystem
/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux/sys-include
--sysroot=/home/rkeene/root/cross-compilers/x86_64-slackware-linux/x86_64-slackware-linux



More information about the Gcc-bugs mailing list