Displaying 20 results from an estimated 130 matches for "xlinker".
Did you mean:
linker
2008 Jan 07
1
[LLVMdev] llvm-ld -Xlinker trivial patch
Hi,
The -Xlinker command line option is currently broken.
E.g. llvm-ld -native -lXXX -Xlinker=YYY will call the native linker with the
otpions: -XXX -YYY -lXXX
The attached patch removes the obviously wrong line.
daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-ld-...
2004 Dec 07
3
can't compile chan_capi 3.5 after patch applied :-(
...chan_capi-0.3.5]# make
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g
-I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES
-DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes
-Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
gcc -shared -Xlinker -x -o chan_capi.so chan_capi.o -lcapi20
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g
-I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES
-DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes
-Wno-missing-declarations -DCRYPTO -c -o app_capiCD.o app_cap...
2010 Oct 03
3
[LLVMdev] fPIC in llvm 2.6
Is fPIC broken on x86_64 in LLVM 2.6? I looked through the release
notes but did not see anything mentioned. When I try:
-------------------
> llvm-gcc -Iinclude -emit-llvm -fPIC -O3 -c -o file.opt.bc file.c
> llvm-ld -native -Xlinker=-shared -Xlinker=-Wl,-soname,libtest.so -o
file.so file.opt.bc
-------------------
on an x86 machine it works fine. When I try it on x86_64, the linking
command complains with:
-------------------
/usr/bin/ld: /tmp/ccjE1tcG.o: relocation R_X86_64_32S against `.bss' can
not be used when ma...
2010 Nov 25
2
[LLVMdev] using bugpoint in a complex ruby code build case
Hi all,
I've been running into what appears to be an optimization bug in llvm,
while compiling
the latest ruby 1.9.3 with the latest llvm/clang 2.9 version. From
hands on experimentation
I do know that the gvn pass for the "vm.c" compilation is the culprit
of the miscompilation
(clang -O2/-O3 options produce the miscompilation, however -O1 is
fine!). I've also tried
to
2010 Nov 28
0
[LLVMdev] using bugpoint in a complex ruby code build case
...d modules
> and libraries, then the resulting program needs to be executed with
> some parameters!
It should be possible. I did something like that for debugging a clang
bootstrap. What I did was link all the other files and libraries into
a single .o with "ld -r" and pass it with -Xlinker.
> Also, if bugpoint were to be able to deal with this complex scenario,
> how could one provide
> hints to bugpoint not to try everything, but to focus on certain llvm
> steps?
>
> Thanks,
> Frank
Cheers,
Rafael
2004 Dec 25
0
patch to build h323 without recompiling pwlib, ...
...= -D_REENTRANT -D_GNU_SOURCE
CFLAGS += -I../../include
CFLAGS += -I$(PWLIBDIR)/include
-CFLAGS += -I$(OPENH323DIR)/include -Wno-missing-prototypes
+CFLAGS += -I$(OPENH323INC) -Wno-missing-prototypes
all: depend libchanh323.a
@@ -64,13 +66,13 @@
endif
chan_h323.so:
- $(CXX) -g -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_r -L$(OPENH323DIR)/lib -lh323_linux_x86_r -L/usr/lib $(CHANH323LIB)
+ $(CXX) -g -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_r -L$(OPENH323LIB) -lh323_linux_x86_r -L/usr/lib...
2010 Oct 03
0
[LLVMdev] fPIC in llvm 2.6
> Is fPIC broken on x86_64 in LLVM 2.6?
No, it works w/o any problems
> -------------------
> > llvm-gcc -Iinclude -emit-llvm -fPIC -O3 -c -o file.opt.bc file.c
> > llvm-ld -native -Xlinker=-shared -Xlinker=-Wl,-soname,libtest.so -o
> file.so file.opt.bc
> -------------------
PIC-ness is a backend option. So, passing -fPIC to llvm-gcc does not
make any sense, it is not saved into the bytecode.
Try passing -relocation-model=pic to llvm-ld, or just compile
everything via llvm-gcc...
2010 Oct 04
2
[LLVMdev] fPIC in llvm 2.6
...ode files to llvm-gcc. How can I do that?
Anton Korobeynikov wrote:
>> Is fPIC broken on x86_64 in LLVM 2.6?
> No, it works w/o any problems
>
>> -------------------
>> > llvm-gcc -Iinclude -emit-llvm -fPIC -O3 -c -o file.opt.bc file.c
>> > llvm-ld -native -Xlinker=-shared -Xlinker=-Wl,-soname,libtest.so -o
>> file.so file.opt.bc
>> -------------------
> PIC-ness is a backend option. So, passing -fPIC to llvm-gcc does not
> make any sense, it is not saved into the bytecode.
> Try passing -relocation-model=pic to llvm-ld, or just compile
&...
2006 Apr 19
1
Error installing asterisk
...k on Fedora core 3.
I have instaled zaptel-1.2.3, libpri-1.2.2, but when I am instaling (make install) asterisk I have the following error:
....................
_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o app_zapscan.o app_zapscan.c
gcc -shared -Xlinker -x -o app_zapscan.so app_zapscan.o
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o app_page.o app_page.c
gcc -shared -Xlinker...
2004 Jan 16
7
CAPI not installed, after changed from i4l to CAPI
...unused variable `CMSG'
chan_capi.c:208: warning: unused variable `buf'
chan_capi.c: In function `capi_send_digit':
chan_capi.c:253: warning: unused variable `error'
chan_capi.c:254: warning: unused variable `CMSG'
chan_capi.c:255: warning: unused variable `buf'
gcc -shared -Xlinker -x -o chan_capi.so chan_capi.o -lcapi20
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g
-I/usr/include/asterisk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686
-DNEVER_EVER_EARLY_B3_CONNECTS -DFORCE_SOFTWARE_DTMF -DCAPI_ULAW
-DCAPI_GAIN -DDEFLECT_ON_CIRCUITBUSY -DCAPI_SYNC -Wno-missi...
2010 May 04
0
[LLVMdev] llvm-ld (and pthreads) problem
Hi,
I'm having some problems with producing native executables with
llvm-ld. Both TimberLLVMLIB and TimberLLVMRTS is compiled into bitcode
files and archived with llvm-ar. Everything works fine when using the
flag -disable-opt
llvm-ld -Xlinker='-pthread' -Xlinker='-m32' -native -disable-opt
-L/home/capitrane/local/timber-llvm//share/timberc-1.0.3/rtsPOSIX
ConcMap.bc ParPrimes.bc main.bc -o ParPrimes -lTimberLLVMRTS
-lTimberLLVMLIB -v
The generated file executes correctly. But when the flag -disable-opt
is removed to...
2005 May 27
1
static linking
...sform it into a static executable. It seemed to
work on my box, but when I tried it on the target box it did this:
[root@0060ef21765a /]# asterisk
Illegal instruction
[root@0060ef21765a /]#
I've also tried messing with the Makefile. Specifically I did this:
#ASTLINK=-Wl,-E
#SOLINK=-shared -Xlinker -x
ASTLINK=-Wl,-E
SOLINK=-static -Xlinker -x
I also tried leaving the ASTLINK line blank. Both attempts were
unsuccessful and I got unresolved symbol errors.
Thanks,
Ben
2001 Jul 29
1
Compiling R (1.3.0) on AIX (4.3) fails (PR#1034)
...t execute 'shared' on line 4060.)
The fix is simply to use single quotes both times:
allow_undefined_flag='${wl}-berok'
2) after configure (with CC=gcc but using AIX's linker /usr/bin/ld), the
Makefile in src/library/tcltk/src doesn't protect the linker flags -bI
with -Xlinker! (-Xlinker is required when using gcc so that the linker flags
are passed on to ld correctly. Which I know that you know...)
The fix is to add -Xlinker before every -bI. Sorry, haven't looked into
patching configure yet...
3) Rd2contents.pl: this perl script fails in the base library! The...
2010 Oct 04
0
[LLVMdev] fPIC in llvm 2.6
...n I do that?
>
> Anton Korobeynikov wrote:
>>> Is fPIC broken on x86_64 in LLVM 2.6?
>> No, it works w/o any problems
>>
>>> -------------------
>>>> llvm-gcc -Iinclude -emit-llvm -fPIC -O3 -c -o file.opt.bc file.c
>>>> llvm-ld -native -Xlinker=-shared -Xlinker=-Wl,-soname,libtest.so -o
>>> file.so file.opt.bc
>>> -------------------
>> PIC-ness is a backend option. So, passing -fPIC to llvm-gcc does not
>> make any sense, it is not saved into the bytecode.
>> Try passing -relocation-model=pic to llvm-l...
2003 Jul 23
1
Newbie Help
...pool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPAT
H=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT -fPIC -c -o
pbx_config.o pbx_config.c
gcc -shared -Xlinker -x -o pbx_config.so pbx_config.o
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarat
ions -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686
-DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-07/22/03-22:29:39\" -DINSTA
LL_PREFIX=\"\"...
2013 Jan 07
2
[LLVMdev] Will LLVM be suitable for developing valgrind like tools
...this. build clang 3.2 but I got this linker error. Let
me also examine closely
clang++ -W -Wall -Wno-unused-parameter -Wno-unused-value -D_GNU_SOURCE
-DTHREAD_SAFE -D_REENTRANT -Wno-unused-function -Werror=unused-variable
-fsanitize=address -fno-omit-frame-pointer -g -m64 -fvisibility=hidden
-fPIC -Xlinker -rpath -Xlinker /home/deleisha/CodeSpace/pegasus/pkg/lib
-L/home/deleisha/CodeSpace/pegasus/pkg/lib -o
/home/deleisha/CodeSpace/pegasus/pkg/bin/slp_query
/home/deleisha/CodeSpace/pegasus/pkg/obj/slp/slp_client/src/cmd-utils/slp_query/slp_query.o
-lpegslp_client -ldl -lpthread -lcrypt
/usr/bin/ld:
/...
2005 Jun 02
1
compile asterisk
hello
i have a small problem in installation of asterisk can
any one tell me what is the solution
gcc -shared -Xlinker -x -o app_zapscan.so
app_zapscan.o
gcc -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6
-march=i686 -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-HEAD-05/26/05-20:43:39\"
-DASTERISK_VERSION_NUM=9999...
2008 Feb 20
0
[LLVMdev] Problems building LLVM 2.2 for ARM
Try make VERBOSE=1 first. Perhaps it'll tell us something.
Evan
On Feb 19, 2008, at 4:19 PM, Tobias Oberstein wrote:
> Hello,
>
> I'd like to do some initial experiments with LLVM on embedded ARM
> (Nokia N800), but ran into a build issue. Could s.o. give me a tip?
>
> Thx alot,
> Tobias
>
> P.S.: just as sidenote, LLVM 2.2 builds cleanly on GCC 4.2.3 / Linux.
2005 Jan 18
2
problems compiling asterisk-addons
...-o
format_mp3.o format_mp3.c
format_mp3.c: In function `load_module':
format_mp3.c:335: warning: passing arg 5 of `ast_format_register' from
incompatible pointer type
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -shared
-Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o
layer3.o tabinit.o interface.o format_mp3.o
make[1]: Leaving directory
`/opt/asterisk-cvs/asterisk-addons/format_mp3'
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o
app_saycountpl.o app_saycountpl.c
cc -shared -Xlinke...
2004 Feb 02
2
compile error (still having problems)
Hey guys!
I'm still having problems trying to get Asterisk compiled but when compiling
res_crypto.c, I get this error:
NSSL_NO_KRB5 -fPIC -c -o res_parking.o res_parking.c
gcc -shared -Xlinker -x -o res_parking.so res_parking.o
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-02/02/04-13:02:21\" -DINSTALL_PREFIX=\"\&quo...