This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51206] Building Cross-Compiler for Linux/x86_64 multilibs fails due to FLAGS_FOR_TARGET
- From: "gcc at rkeene dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Nov 2011 08:27:00 +0000
- Subject: [Bug c/51206] Building Cross-Compiler for Linux/x86_64 multilibs fails due to FLAGS_FOR_TARGET
- Auto-submitted: auto-generated
- References: <bug-51206-4@http.gcc.gnu.org/bugzilla/>
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