[ANNOUNCE]: clang compiling ports
bapt at FreeBSD.org
Tue Jun 21 09:25:08 UTC 2011
On Mon, 20 Jun 2011 17:37:53 +0200, Roman Divacky wrote:
> Flz@ just run an exp-build with CC=clang and CXX=clang++. The results
> can be
> seen here:
> A lot of these failures are trivial to fix (ie. not respecting CC
> setting, etc.)
> and prevent a lot of other ports from building.
> It would be great if you could skim over the list to see if some of
> the ports
> you maintain are broken and possibly try to fix them. A small
> introduction into
> the Clang+Ports can be read at:
> Please focus on the biggest offenders (ie. ports that prevent the
> most other
> ports from building).
> Thank you for helping us!
> Roman Divacky
I have tried to fix most of my ports, I now have a problem which seem
to appear quite often :
local symbol 5: discarded in section
local symbol 6: discarded in section
`.text._ZNK6icu_4813UnicodeStringeqERKS0_' from messagepattern.o
local symbol 7: discarded in section
`.text._ZN6icu_4815MaybeStackArrayIcLi40EED1Ev' from locutil.o
local symbol 96: discarded in section
local symbol 97: discarded in section
local symbol 98: discarded in section
`.text._ZN6icu_4815MaybeStackArrayIcLi40EE6resizeEii' from servrbf.o
local symbol 99: discarded in section
clang++: error: linker command failed with exit code 1 (use -v to see
To test I'm using CC=clang CXX=clang++ on a FreeBSD8-stable box (1 week
old) using clang from ports: 2.9.
does anyone have a clue for that? Am I doing something wrong?
More information about the freebsd-ports