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

Austin English austinenglish at gmail.com
Wed Aug 10 23:04:47 UTC 2011


On Tue, Aug 9, 2011 at 15:25, Sylvestre Ledru <sylvestre at debian.org> wrote:
> Le mardi 09 août 2011 à 11:05 -0700, Austin English a écrit :
>> 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.
> OK, there is no bug then. ;)
> Don't you think ?
>
> Don't tell me it worked with llvm-gcc-4.2, it is two different
> projects ;)

Hehe, fair enough. It's still a bug, but in wine. I've filed:
http://bugs.winehq.org/show_bug.cgi?id=28050

feel free to reassign to the wine package, or close.

Thanks for your help/sorry for the noise!

-- 
-Austin





More information about the Pkg-llvm-team mailing list