Most details are noted at https://bugzilla.samba.org/show_bug.cgi?id=8460. WIP.
The failing port is graphics/giblib but the damage to the packages might be severe - evrerything that depends on libtool can be corrupted.
Remove clang and clang++ from the compilers leaving a note that they could be readded later. This way the links to clang and clang++ would not be added by default and everything would work fine. Anyone can add clang and clang++ to EXTRA_COMPILERS to make use of ccache.
How-To-Repeat: Rebuild libtool with clang having ccache enabled. Try build any libtool based library and you will get:
clang: warning: argument unused during compilation: '-fpic'
building shared library xxxxxxx.so.x
ld: xxxxxx.So: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
xxxxxx.So: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Over to maintainer (via the GNATS Auto Assign Tool)
ehaupt 2011-10-01 21:49:28 UTC
FreeBSD ports repository
Add options to create compiler links for clang and llvm. Also add a warning
that clang is not yet fully supported by ccache.
PR: 161029 (based on)
Submitted by: Volodymyr Kostyrko <email@example.com>
Revision Changes Path
1.64 +17 -2 ports/devel/ccache/Makefile
1.1 +7 -0 ports/devel/ccache/files/pkg-message-clang (new)
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"