llvm-toolchain-3.3-8: unrecognized option '-fuse-ld=gold'

David Smith sidicas2 at gmail.com
Sat Aug 24 12:56:05 UTC 2013


I was trying to backport the llvm-toolchain-3.3-3.3-8 package to Debian
Wheezy for my own personal reasons (Required to backport Mesa 9.2
binaries to Wheezy which is all I care to have in the end), and it
throws out:

x86_64-linux-gnu-g++: error: unrecognized command line option
'-fuse-ld=gold' and stops compiling there.

I have all the build deps met for the llvm-toolchain-3.3-3.3-8 package
in my build environment.

I removed the -fuse-ld=gold option from debian/rules and it compiles for
Wheezy without any problem.

The llvm-toolchain-3.2-3.2repack-10 package does not have this problem
during backport.

Tips/Suggestions/Comments appreciated.


More information about the Pkg-llvm-team mailing list