Well, not as important for me, but fitting nonetheless x32 doesnt seem to
fit in the naming scheme at all,
if you run
clang++ -mx32 -fsanitize=address test.cpp
then clang will try to link the amd64 libraries, instead of trying to
using x32 versions
------- Weitergeleitete Nachricht -------
Von: "Norbert Lange" <n...@chello.at>
An: 771...@bugs.debian.org, "Sylvestre Ledru" <sylves...@debian.org>
Kopie:
Betreff: Re: Bug#771380: libclang-common-3.5-dev: libraries cant be
installed for crosscompiling 32bit
Datum: Sat, 29 Nov 2014 18:29:47 +0100
Sure,
consider test.cpp a trivial hello world program.
# This works:
clang++ test.cpp
# This works also if you installed the 32bit libs from gcc:
clang++ -m32 test.cpp
# These will use the llvm libraries, and there is no way of getting the
32bit ones via package:
clang++ -m32 --rtlib=compiler-rt test.cpp
clang++ -m32 -fsanitize=address test.cpp
# .. and theoretical, this would be nice aswell:
clang++ -target arm-linux-eabi test.cpp
In short a solution like gccs lib32asan1, lib32gcc, libx32asan1,
libx32gcc, ... packages would be needed, or proper multiarch packages so
the binaries for different archs can be installed together.
And ideally further packages would install libraries for arm-[linux|none],
mips-[linux|none], etc..
Kind Regards,
Norbert Lange
Am 29.11.2014, 10:42 Uhr, schrieb Sylvestre Ledru <sylves...@debian.org>:
On 29/11/2014 00:29, Norbert Lange wrote:
Package: libclang-common-3.5-dev
Version: 1:3.5-6
Severity: normal
Dear Maintainer,
I am trying to compile for 32 bit with clang. If libraries from llvm
have to be used, the linker will rightfully complain about missing
files.
Attempting to install libclang-common-3.5-dev:i386 will fail or require
to
uninstall the 64bit packages first.
Please separate the binaries so that those can be installed side-by-side
or provide an additional package for 32bit libs for 64bit Archs
As workaround I extracted just the libs from
/usr/lib/llvm-3.5/lib/clang/3.5.0/lib/linux
Could you please provide a testcase of what you are trying to do?
(to make sure I am able to test the changes)
Thanks
S
--
Erstellt mit Operas E-Mail-Modul: http://www.opera.com/mail/
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org