From owner-freebsd-ports@FreeBSD.ORG Tue Jun 21 09:25:07 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFCB2106566C for ; Tue, 21 Jun 2011 09:25:07 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from xiurhn.etoilebsd.net (xiurhn.etoilebsd.net [94.23.37.58]) by mx1.freebsd.org (Postfix) with ESMTP id A6FD78FC1D for ; Tue, 21 Jun 2011 09:25:06 +0000 (UTC) Received: by xiurhn.etoilebsd.net (Postfix, from userid 80) id 7622B7E880; Tue, 21 Jun 2011 11:06:57 +0200 (CEST) To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 21 Jun 2011 11:06:57 +0200 From: Baptiste Daroussin In-Reply-To: <20110620153753.GA41541@freebsd.org> References: <20110620153753.GA41541@freebsd.org> Message-ID: X-Sender: bapt@FreeBSD.org User-Agent: Roundcube Webmail/0.5.3 Subject: Re: [ANNOUNCE]: clang compiling ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2011 09:25:08 -0000 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