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

Sylvestre Ledru sylvestre at debian.org
Tue Aug 9 09:23:46 UTC 2011


Le mardi 09 août 2011 à 02:20 -0700, Austin English a écrit :
> On Tue, Aug 9, 2011 at 02:14, Sylvestre Ledru <sylvestre at debian.org> wrote:
> > Le mardi 09 août 2011 à 02:17 -0700, Austin English a écrit :
> >
> >> The bug appears when linking, not sure how to get a reduced testcase for that, please advise if needed.
> > Well, if I don't have a simple testcase to reproduce it, I am not sure I
> > can do anything here for you ...
> > ,
> > Sorry
> > Sylvestre
> 
> Well, by that I meant a simplified C testcase :). I can provide the
> objects themselves. Here you go:
> llvm-gcc -o wine-preloader -static -nostartfiles -nodefaultlibs
> -Wl,-Ttext=0x7c400000 preloader.o libwine_port.a
> 
> to reproduce the bug.
I would not say no to a C testcase (I run 64 bits).
Anyway, does it work when you remove this option 
-nodefaultlibs
?

S







More information about the Pkg-llvm-team mailing list