[cfe-dev] clang on FreeBSD
Roman Divacky
rdivacky at freebsd.org
Sun Jan 2 01:41:26 PST 2011
On Sat, Jan 01, 2011 at 09:15:24PM +0800, ????????? wrote:
> Hi, folks
>
> clang/clang++ fail to compile programs on FreeBSD 8 (amd64). Even the binary
> which I downloaded from
> http://llvm.org/releases/2.8/clang+llvm-2.8-freebsd8-amd64.tar.xz
> failed.
>
> Here is the error messge,
>
> -------------------------------------------------------------------------------
> $ clang test.c
> /usr/local/bin/ld: error in /usr/lib/crtend.o(.eh_frame); no .eh_frame_hdr table will be created.
> -------------------------------------------------------------------------------
this is a freebsd crt* problem which has been fixed in FreeBSD 9, just ignore it or use
/usr/bin/ld
More information about the cfe-dev
mailing list