Displaying 5 results from an estimated 5 matches for "configwriter".
2007 Aug 15
3
[LLVMdev] Strange error of llvm-ld
I'm using llvm-ld from SVN r41106
When issueing the command
$ /usr/src/llvm/installed/bin/llvm-ld -v -stats -native -O1 -strip-all -o main \
.obj/conf.o .obj/configwriter.o \
-L/usr/share/qt3/lib -L/usr/X11R6/lib \
-lcrypto -lusb -lutil -lqt-mt -lXext -lX11 -lm -lpthread
I get this output:
Linking bitcode file '.obj/conf.o'
Linked in file '.obj/conf.o'
Linking bitcode file '.obj/configwriter.o'
llvm-ld: error: Cannot link file ...
2007 Aug 15
0
[LLVMdev] Strange error of llvm-ld
...e a declaration
in one of them.
On 8/15/07, Holger Schurig <hs4233 at mail.mn-solutions.de> wrote:
> I'm using llvm-ld from SVN r41106
>
> When issueing the command
>
> $ /usr/src/llvm/installed/bin/llvm-ld -v -stats -native -O1 -strip-all -o main \
> .obj/conf.o .obj/configwriter.o \
> -L/usr/share/qt3/lib -L/usr/X11R6/lib \
> -lcrypto -lusb -lutil -lqt-mt -lXext -lX11 -lm -lpthread
>
> I get this output:
>
> Linking bitcode file '.obj/conf.o'
> Linked in file '.obj/conf.o'
> Linking bitcode file '.obj/configwriter.o'...
2007 Aug 16
0
[LLVMdev] Strange error of llvm-ld
Holger,
I have just committed a patch to cause the linker to properly propagate
error messages from the LinkModules method up to higher levels of the
linker. With this change it should tell you with more detail what is
going on (why it couldn't link the file in). Please update, rebuild and
try again. If you think the error message is wrong after that, please
file a bug for this.
To get
2007 Aug 16
2
[LLVMdev] Strange error of llvm-ld
> I think I have experienced this when more than one module
> contains definitions for the same values. ie. it should only
> be a declaration in one of them.
Hmm, when I compile and link this with plain gcc, it everything
works.
Anyway, llvm-ld should probably not just say "Cannot link
file 'blah'", but why it cannot link it.
I compiled llvm in with --enable-debug.
2007 Aug 16
2
[LLVMdev] Strange error of llvm-ld
...t; On 8/15/07, Holger Schurig <hs4233 at mail.mn-solutions.de> wrote:
> > I'm using llvm-ld from SVN r41106
> >
> > When issueing the command
> >
> > $ /usr/src/llvm/installed/bin/llvm-ld -v -stats -native -O1 -strip-all -o main \
> > .obj/conf.o .obj/configwriter.o \
> > -L/usr/share/qt3/lib -L/usr/X11R6/lib \
> > -lcrypto -lusb -lutil -lqt-mt -lXext -lX11 -lm -lpthread
> >
> > I get this output:
> >
> > Linking bitcode file '.obj/conf.o'
> > Linked in file '.obj/conf.o'
> > Linking b...