Bug#836806: clang on dual arch (x86_64/i386) system tries to use 64 bit libs when m32 is passed
doko at debian.org
Tue Sep 6 09:06:08 UTC 2016
On 06.09.2016 09:51, Sylvestre Ledru wrote:
> Le 06/09/2016 à 02:45, Matt Parnell a écrit :
>> Package: clang (all versions?)
>> Ever since the upgrade to gcc6/libstdc++6, this has been an issue.
>> I build a private application that only works with 32 bit libs currently and
>> as a result have to include the i386 architecture to pull in a few specific libraries.
>> For whatever reason, clang chooses to ignore -m32 and use the x86_64 libraries
>> if I do not disable (rename/move) them.
> Yes this is because some paths changed during the libstdc++6 migration ?!
> Could you report a bug upstream?
hmm, besides the usual 5/6 thing we changed the gnu triplet on i386. I think
Michael Hudson reported an issue in Ubuntu that clang tries to use a newer
version of g++ if it doesn't exist (e.g. gccgo-6 is installed, but not g++-6).
I'm not aware of other issues.
More information about the Pkg-llvm-team