Summary: | sys-devel/llvm-9999 CFLAGS=-flto - ld: error: .../temp/cclnoS8r.ltrans0.ltrans.o: requires unsupported dynamic reloc 11; recompile with -fPIC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
Component: | [OLD] Core system | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kredba |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.xz |
Description
Marcin Mirosław
2014-01-28 10:48:50 UTC
Created attachment 368960 [details]
build.log.xz
Could you try with 3.8*? I'm sorry but -flto is over my resources ;-). With llvm-3.8.1 I'm geting: [snip] lto-wrapper: fatal error: /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-g++ returned 1 exit status compilation terminated. /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status I made mistake in previous test. llvm-3.7.1-r3 compiles fine with CFLAGS="-O2 -pipe -march=native -flto" Fixed by upstream. |