Bug#637182: llvm-gcc-4.5: undefined reference to `memset' error when compiling Wine with optimization (regression)

Austin English austinenglish at gmail.com
Tue Aug 9 18:05:53 UTC 2011


On Tue, Aug 9, 2011 at 02:30, Sylvestre Ledru <sylvestre at debian.org> wrote:
> Le mardi 09 août 2011 à 02:25 -0700, Austin English a écrit :
>>
>> austin at debian:~/637182$ llvm-gcc -o wine-preloader -static
>> -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o libwine_port.a
> ^^^^^^^^^^^^^^^^^
>> preloader.o: In function `_start':
>> preloader.c:(.text+0x0): multiple definition of `_start'
> I still see it here ...

My mistake, I removed -nostartfiles by mistake. Yes, removing
-nodefaultlibs allows it to compile.

-- 
-Austin





More information about the Pkg-llvm-team mailing list