gcc x32 multilib build

94 views
Skip to first unread message

Daniel Schepler

unread,
Aug 16, 2012, 5:51:52 PM8/16/12
to x32...@googlegroups.com
What's the correct way to configure gcc with multilib support, defaulting to x32 output?  When I try configuring gcc (from hjl/x32/gcc-4_7-branch with git merge origin/gcc-4_7-branch) using --with-abi=mx32 --with-multilib-list=mx32,m64,m32 it never builds libgcc for -m64 or -m32, and therefore fails when it tries to build the -m64 version of libgomp.
--
Daniel Schepler

H.J. Lu

unread,
Aug 16, 2012, 6:22:05 PM8/16/12
to x32...@googlegroups.com
It works for me on hjl/x32/gcc-4_7-branch. Have you tried plain
hjl/x32/gcc-4_7-branch?

--
H.J.

Daniel Schepler

unread,
Aug 17, 2012, 10:52:28 AM8/17/12
to x32...@googlegroups.com
On Thursday, August 16, 2012 3:22:05 PM UTC-7, H.J. wrote:
It works for me on hjl/x32/gcc-4_7-branch.   Have you tried plain
hjl/x32/gcc-4_7-branch?
 
OK, when I create temporary symlinks /usr/lib32 -> /usr/lib/i386-linux-gnu, etc., it works for me on plain hjl/x32/gcc-4_7-branch, and also with gcc-4_7-branch merged in.  I guess the issue must be somewhere in the Debian patches I applied for multiarch support -- which, in retrospect, should probably have been the first thing I checked before I posted here.

Sorry for the noise.
--
Daniel

Reply all
Reply to author
Forward
0 new messages