LDC 0.10.0 Beta 1 available

Peter Alexander peter.alexander.au at gmail.com
Wed Dec 12 00:32:49 PST 2012


On Wednesday, 12 December 2012 at 01:07:56 UTC, David Nadlinger 
wrote:
> After a long wait and many unexpected delays, there is finally 
> going to be a released version of LDC, the LLVM D compiler, 
> again! I'll keep this post short and (hopefully) sweet, a more 
> detailed announcement will follow when the release is actually 
> out

Nice work.

I just downloaded the OSX version, but I'm getting a lot of 
unusual linker errors when trying to compile hello world. Here's 
the output with ldc -L=-v. I'm running OS X 10.6.8.

Let me know if I should file this as a bug (or if I've just 
missed something).

admin at poita ldc2-0.10.0-beta1-osx-x86_64/bin% ./ldc2 -L=-v test.d
collect2 version 4.2.1 (Apple Inc. build 5664) (i686 Darwin)
/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld -dynamic -arch 
x86_64 -macosx_version_min 10.6.8 -weak_reference_mismatches 
non-weak -o test -lcrt1.10.6.o 
-L/Users/admin/ldc2-0.10.0-beta1-osx-x86_64/bin/../lib 
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 
-L/usr/lib/i686-apple-darwin10/4.2.1 
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1 
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1 
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1 
-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.. test.o -v 
-lphobos-ldc -ldl -lpthread -lm -lSystem -lgcc -lSystem
@(#)PROGRAM:ld  PROJECT:ld64-97.14
Library search paths:
	/Users/admin/ldc2-0.10.0-beta1-osx-x86_64/lib
	/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64
	/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64
	/usr/lib/i686-apple-darwin10/4.2.1
	/usr/lib/gcc/i686-apple-darwin10/4.2.1
	/usr/lib/gcc/i686-apple-darwin10/4.2.1
	/usr/lib/i686-apple-darwin10/4.2.1
	/usr/lib
	/usr/lib
	/usr/local/lib
Framework search paths:
	/Library/Frameworks/
	/System/Library/Frameworks/
ld: warning: symbol 
__D2rt8lifetime18__blkcache_storagePS2rt8lifetime7BlkInfo found 
in unsupported section in 
/Users/admin/ldc2-0.10.0-beta1-osx-x86_64/lib/libphobos-ldc.a(lifetime_64.o)
ld: warning: symbol __D2rt8lifetime12__nextBlkIdxi found in 
unsupported section in 
/Users/admin/ldc2-0.10.0-beta1-osx-x86_64/lib/libphobos-ldc.a(lifetime_64.o)
ld: warning: symbol __D2rt8lifetime12__nextBlkIdxi$tlv$init found 
in unsupported section in 
/Users/admin/ldc2-0.10.0-beta1-osx-x86_64/lib/libphobos-ldc.a(lifetime_64.o)
ld: warning: symbol 
__D2rt8lifetime18__blkcache_storagePS2rt8lifetime7BlkInfo$tlv$init 
found in unsupported section in 
/Users/admin/ldc2-0.10.0-beta1-osx-x86_64/lib/libphobos-ldc.a(lifetime_64.o)
ld: warning: unknown relocation type 9
ld: warning: unknown relocation type 9
ld: warning: unknown relocation type 9
ld: warning: unknown relocation type 9
... lots more similar ...



More information about the Digitalmars-d-announce mailing list