Date: Tue, 21 Jun 2011 11:06:57 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: <freebsd-ports@freebsd.org> Subject: Re: [ANNOUNCE]: clang compiling ports Message-ID: <e94ba213fb30dc0b1500a23024764305@etoilebsd.net> In-Reply-To: <20110620153753.GA41541@freebsd.org> References: <20110620153753.GA41541@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Jun 2011 17:37:53 +0200, Roman Divacky wrote: > Hi! > > > Flz@ just run an exp-build with CC=clang and CXX=clang++. The results > can be > seen here: > > > http://pointyhat.freebsd.org/errorlogs/amd64-9-exp-latest/ > > > 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: > http://wiki.freebsd.org/PortsAndClang. > > 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 `.text._ZN6icu_4815MaybeStackArrayIcLi40EE13orphanOrCloneEiRi' from udata.o 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 `.text._ZN6icu_4815MaybeStackArrayIcLi40EE12releaseArrayEv' from servrbf.o local symbol 97: discarded in section `.text._ZN6icu_4815MaybeStackArrayIcLi40EE12aliasInsteadEPci' from servrbf.o local symbol 98: discarded in section `.text._ZN6icu_4815MaybeStackArrayIcLi40EE6resizeEii' from servrbf.o local symbol 99: discarded in section `.text._ZN6icu_4815MaybeStackArrayIcLi40EE13orphanOrCloneEiRi' from servrbf.o clang++: error: linker command failed with exit code 1 (use -v to see invocation) 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? regards, Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e94ba213fb30dc0b1500a23024764305>