[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Issues with trying to build Debian x32 gcc with multilib support



On Tue, Aug 21, 2012 at 3:48 AM, Matthias Klose <doko@debian.org> wrote:
> No. They should stay, to build a multilib'ed compiler. And I won't apply any
> local patch to the gcc package to lookup header and o files in other places, so
> if you want to improve the situation, work with upstream to get this into the
> next GCC release.

I'm not sure what you're trying to say here.  I didn't have to change
any search paths to get this to work, beyond updating the multiarch
patches for x32.

I've gotten the x32 triarch packages working, and uploaded to
http://people.debian.org/~schepler/gcc-4.7-x32/ -- along with
debdiff.diff, and packages.txt which contains the output of dpkg-deb
-I and dpkg-deb -c for each package.  Hopefully this will give a more
concrete idea of what I'm trying to do.

I'm unable to properly install gcc-multilib and g++-multilib yet, due
to version mismatches in libgcc1, libgomp1, etc.  But if I force
install the packages and mismatching versions of their dependencies,
it works successfully to build and run a small test C++ program in all
three modes.

Disclaimers: this is just a prototype, with more hard coding than I'd
like; and I've probably broken non-amd64/i386/x32 architectures with
it.  I'm also pretty sure I've missed most places where I'd need to
add x32 multilib support, so it will need more work before it will
build properly on amd64 or i386.
-- 
Daniel Schepler


Reply to: