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

Bug#629819: libc6: gcc-4.2 from lenny no longer works



On Tue, Jul 19, 2011 at 02:35:00AM -0500, Jonathan Nieder wrote:
> Hi Andy,
> 
> Andy Chittenden wrote:
> 
> >> 	  The toolchain in Debian has been updated to cope with that, and most
> >> 	  build systems should be unaffected. If you are using a non-Debian
> >> 	  toolchain to build your software and it is not able to cope with
> >> 	  multiarch, you might try to pass the following options to your
> >> 	  compiler:
> >> 
> >> 	    -I/usr/include/$arch --sysroot /usr/lib/$arch
> >
> > We're not using a non-Debian toolchain
> 
> I know, but did you try the workaround mentioned above?  If it works,
> the wording could be adjusted (e.g., to "The toolchain in Debian wheezy
> has been updated" ... "If you are using a non-Debian or an older
> toolchain" ...).  If it doesn't work, it probably doesn't work with
> stock gcc, either, and the text should be fixed.
> 
> [...]
> > the only way I've found for sorting out the backward compatibility
> > issue is to create symlinks from /lib and /usr/lib to $arch
> > versions. Perhaps there should be a "compat" package for doing that
> > officially.
> 
> Yes, that's sounding more and more like a good idea.  Could you send
> a package description for "apt-cache show" to print for such a package
> and an exact list of the symlinks that you had to create?  (Sometimes
> people call this sending a proposed patch. :))
> 

Last time we talk with that on #multiarch, it seems it was not really a
good idea to do that, especially given it only solves half of the
problem (the library one, not the includes one). What should be done
instead is trying to understand why --sysroot doesn't work.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: