Date: Tue, 9 Dec 2008 12:48:22 +0100 (CET) From: Michael Reifenberger <mike@reifenberger.com> To: brooks@FreeBSD.org Cc: ports@freebsd.org Subject: llvm-c++ fails to compile/link trivial c++ program Message-ID: <alpine.BSF.2.00.0812091229130.72345@gw.reifenberger.com>
next in thread | raw e-mail | index | archive | help
Hi, compiling the attached program test2.c++ using `llvm-c++ -Wall test2.c++` gives: /usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 assertion fail elf64-amd64-fbsd.c:2166 /usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 assertion fail elf64-amd64-fbsd.c:2166 Is our linker too old or is it a llvm-gcc bug? Or an interference with the base compiler? I'm using the current llvm and llvm-gcc ports on FreeBSD RELENG_7 amd64. BTW: commenting out the '#include <iostream>' line fixes the error... Bye/2 --- Michael Reifenberger Michael@Reifenberger.com http://www.Reifenberger.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0812091229130.72345>