On 2014-09-12 20:40, [email protected] wrote:
And since I'm curious , I've also look into buildlogs, funny that in
20 buildlogs clang error:
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
or
As in
/usr/bin/aarch64-mandriva-linux-gnu-ld: .libs/error.o: unrecognized
relocation (0x20c) in section `.text'
/usr/bin/aarch64-mandriva-linux-gnu-ld: final link failed: Bad value
?
That's binutils.
aarch64 is an extremely new CPU (not even available to the public at
large yet) and support for it is limited in current tools.
In fact, clang currently handles aarch64 better than gcc, largely
because the aarch64 based product that is on the market already is an
Apple device, and they use clang to build everything.
Our binutils is from January (a newer version hasn't been released yet),
when even prototype devices weren't available. Not much of a surprise
that it chokes on a couple of aarch64 specific relocations.
Chances are this can be fixed by throwing out upstream binutils in favor
of the Linaro branch, which has a lot of aarch64 specific work merged.
I'll do that, that should stabilize the aarch64 mass builds a bit.
clang: cannot generate binary
In what package did you see that one? (Not claiming you're making this
up, just curious about the context so I can see what's triggering it).
So where is your 10% failure, mister Khryukin ,sir?
In architectures that are reasonably well supported by tools because
they've been around for a while. Take a look at x86_64 or i586 builds,
maybe even armv7hl mass builds (those have a couple of regular failures
because of missing deps, but are typically stable as well).
Take a look at the x86_64 mass build results, and you'll see most
packages succeeded, most of the failed packages aren't compiler related
(the python3 move is more of a pain), and the ones that are compiler
related are usually because of bad code (something likely to fail with
the next version of gcc as well) or because a Makefile or configure
script is doing something stupid (like hardcoding a compiler flag
specific to gcc or even specific to some version of gcc).
ttyl
bero
_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org