Displaying 20 results from an estimated 81 matches for "lsystem".
Did you mean:
system
2008 Jan 27
1
[LLVMdev] Better llvm-ld support for frameworks on Mac OS X
[ resending after subscribing ]
I would like to be able to compile and link the following two program
into native executables. These are a vastly reduced testcase, so
ignore for a moment the fact that the native compiler driver might
have default -L/-F search paths and -lSystem by default.
$ cat test1.c
extern char *zlibVersion(void);
extern int puts(char *);
int main(int argc, char *argv[]) {
puts(zlibVersion());
return 0;
}
$ clang test1.c -emit-llvm | llvm-as | llvm-ld - -native -L/usr/lib -
lSystem -lz -v
Generating Bitcode To a.out.bc
Generating Assembly W...
2008 Jan 27
0
[LLVMdev] Better llvm-ld support for frameworks on Mac OS X
I would like to be able to compile and link the following two program
into native executables. These are a vastly reduced testcase, so
ignore for a moment the fact that the native compiler driver might
have default -L/-F search paths and -lSystem by default.
$ cat test1.c
extern char *zlibVersion(void);
extern int puts(char *);
int main(int argc, char *argv[]) {
puts(zlibVersion());
return 0;
}
$ clang test1.c -emit-llvm | llvm-as | llvm-ld - -native -L/usr/lib -
lSystem -lz -v
Generating Bitcode To a.out.bc
Generating Assembly...
2011 Sep 02
1
[LLVMdev] does new EH require newer linker?
...k -undefined suppress -o libvmd.dylib -ldylib1.10.5.o -L/sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin11.0.0/4.6.1 -L/sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin11.0.0/4.6.1/../../.. dpApi.o vmd.o vmdInter.o tclStream.o dpStream.o ssStream.o publicVMDInter.o thread.o -lcrypto -lstdc++ -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lSystem /sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin11.0.0/4.6.1/crtfastmath.o -v
[MacPro:~/xplor-nih-2.27/vmd/bin.Darwin_11_x86_64] howarth% gdb /usr/bin/ld
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation,...
2006 Apr 26
1
MacOSX package install problem: pkgs quadprog & tseries
....
As root with
R CMD INSTALL tseries_0.10-0.tar.gz
I get the following
gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib -
o tseries.so arma.o bdstest.o boot.o dsumsl.o garch.o ppsum.o
tsutils.o -framework vecLib -L/usr/local/lib/gcc/powerpc-apple-
darwin6.8/3.4.2 -lg2c -lSystem -L/usr/local/lib/gcc/powerpc-apple-
darwin6.8/3.4.2 -lg2c -lSystem -lcc_dynamic -F/Library/Frameworks/
R.framework/.. -framework R
ld: can't locate file for: -lcc_dynamic
make: *** [tseries.so] Error 1
ERROR: compilation failed for package 'tseries'
** Removing '/Library/Framework...
2004 Oct 25
1
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
...only search
>>linker paths that are specified before a library is specified.
>>
>>Perhaps you need to make sure that all library paths are specified before
>>listing the libraries to link in.
>>
>>In other words,
>>
>>g++ -Lpath1 -Lpath2 -ldbghelp -lSystem
>>
>>...instead of...
>>
>>g++ -ldbghelp -lSystem -Lpath1 -Lpath2
>>
>>Just a guess; can anyone verify this?
>>
>
>That's my understanding too.
>
>REid.
>
>_______________________________________________
>LLVM Developers mailing lis...
2020 May 07
2
Ld64.lld cannot find Foundation framework
....0 -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -framework Foundation -framework Cocoa -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
This works correctly.
Here is the call using ld64.lld:
/Users/edm...
2009 Sep 18
2
[LLVMdev] OT: intel darwin losing primary target status
...:%:version-compare(>< 10.3.9 10.5 mmacosx-version-min= -lgcc_s.10.4) \
%:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.10.5) \
-lgcc}"
Would it be as simple as adding...
%:version-compare(>= 10.6 mmacosx-version-min= -lgcc_s.10.5) \
-lSystem -lgcc}"
or could we even use...
%:version-compare(>= 10.6 mmacosx-version-min= -lgcc_s.10.5) \
-lSystem -lgcc_s}"
I think the second case would solve the outstanding issue of the
TLS emutls not being linked in on darwin...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3...
2009 Sep 18
0
[LLVMdev] OT: intel darwin losing primary target status
...tionality has been subsumed into libSystem.dylib on SnowLeopard
(darwin10). The gcc compiler that shipped with SnowLeopard leaves
the -lgcc_s off the link line when targeting SnowLeopard. If there
is a newer libgcc_s with new functions added, then the link line needs
to change to "-lSystem -lgcc_s", that way the linker will find the
most routines in libSystem.dylib and only the new functions from
libgcc_s.dylib. Thus all linkage units will use the same unwinder.
-Nick
On Sep 18, 2009, at 8:16 AM, Jack Howarth wrote:
> I realize this is off-topic for the list, but I th...
2015 Jan 03
4
[LLVMdev] LTO v. opt
...s an option “-save-temps” which I believe saves bitcode both before and after the optimizer (and the bug is visible as a difference between these two)
~/llvm-install/bin/clang -flto -O2 -c -o bug17623.o bug17623.c
"/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -lSystem /Users/dcallahan/llvm-install/bin/..\
/lib/clang/3.6.0/lib/darwin/libclang_rt.osx.a -save-temps -o bug36 bug17623.o
(this produces bug36.lto.bc and bug36.lto.opt.bc)
However, if I use “opt” to try and duplicate the actions run by “ld”, as in:
~/llvm-install/bin/opt -O2 -o bug36.opt.bc bug36.lto....
2009 Sep 18
2
[LLVMdev] OT: intel darwin losing primary target status
I realize this is off-topic for the list, but I thought
all the darwin developers here might want to be aware of
this. The current regressions in gcc trunk regarding
exception handling has been escalated to a P1 in order to
attract darwin developers to the issue...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41260#c31
If these regressions aren't fixed before gcc 4.5's release,
it appears
2004 Oct 25
0
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
...aries (libSystem and libsupport) are linked in. I think g++ may
only search linker paths that are specified before a library is specified.
Perhaps you need to make sure that all library paths are specified
before listing the libraries to link in.
In other words,
g++ -Lpath1 -Lpath2 -ldbghelp -lSystem
...instead of...
g++ -ldbghelp -lSystem -Lpath1 -Lpath2
Just a guess; can anyone verify this?
-- John T.
>
> --------------------------
> make[2]: Entering directory `/C/Projects/build/MinGW/llvm/utils/TableGen'
> Linking Debug executable tblgen
> /C/Projects/build/MinGW/ll...
2017 Mar 22
2
LLD/Mach-O - how to work around this bug?
...ust be some way to work around this bug. Does anyone have a clue?
This trivial IR file gives "dyld: lazy symbol binding failed: bad lazy bind
info" at runtime when linked with:
lld -flavor darwin -demangle -dynamic -arch x86_64 -macosx_version_min
10.10.0 -pie -o ./tmp_exe ./tmp_exe.o -lSystem
When linking with the system linker instead, with the same arguments, it
works fine. IR file:
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-darwin-unknown"
@0 = internal unnamed_addr constant [9 x i8] c"0: %llu\0A\00", ali...
2004 May 03
2
R-1.9.0 won't compile on OSX (PR#6848)
...R.f
ramework/Versions/1.9.0/Resources/bin/libRlapack.dylib -o libRlapack.dylib
dlapa
ck0.lo dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo -lf77blas -latlas
-L/sw/lib
-L/usr/local/lib -L/sw/lib/gcc/powerpc-apple-darwin7.2.0/3.4
-L/sw/lib/gcc/powe
rpc-apple-darwin7.2.0/3.4/../../.. -lfrtbegin -lg2c -lSystem
ld: common symbols not allowed with MH_DYLIB output format with the
-multi_modul
e option
/sw/lib/libg2c.a(err.o) definition of common _f__cblank (size 4)
/sw/lib/libg2c.a(fmt.o) definition of common _f__cnt (size 40)
2004 Nov 01
2
Compilation error on mgcv_1.1-7 on OS X (10.3)
...cc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o
mgcv.so gcv.o magic.o mat.o matrix.o mgcv.o qp.o tprs.o -framework
vecLib -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2
-L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2/../../.. -lfrtbegin
-lg2c -lSystem -lcc_dynamic -framework R
ld: warning -L: directory name (/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2) does not exist
ld: warning -L: directory name (/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2/../../..) does not exist
ld: can't locate file for: -lfrtbegin
make: *** [mgcv.so] Error...
2013 Nov 20
0
[LLVMdev] lld-3.4 bloats llvm build badly
Hi Jack,
Are you packaging all the static libraries that lld produces as part of
the package ?
PS : When I build on x86_64, I only get a 9M image for lld.
Thanks
Shankar Easwaran
On 11/20/2013 9:15 AM, Jack Howarth wrote:
> When lld-3.4 is added to the tools directory of the llvm source tree
> as lld, the resulting cmake build produces a huge number of static libs and
> bloats
2012 Nov 21
1
[LLVMdev] Undefined symbols for architecture i386: "EH_frame0",
linking this IR file: http://pastebin.com/HnUsSshB
with triple i386-apple-ios to an .o file
and linking it using:
ld -arch i386 -ObjC "EmptyProject17.o" -lSystem -lobjc -framework
CoreGraphics -framework Foundation -framework UIKit -dynamic -o
"i386-EmptyProject17" -objc_abi_version 2 -no_implicit_dylibs -lcrt1.o
-syslibroot
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0....
2005 Aug 16
1
Compile failure on OSX
...Snip .....
gcc -dynamiclib -L/sw/lib -L/usr/local/lib -install_name
/Library/Frameworks/R.framework/Versions/2.1.1/Resources/lib/libRlapack.dyli
b -o libRlapack.dylib dlamc.lo dlapack0.lo dlapack1.lo dlapack2.lo
dlapack3.lo cmplx.lo cmplxblas.lo
-L/sw/lib/gcc/powerpc-apple-darwin7.9.0/3.4 -lg2c -lSystem
ld: Undefined symbols:
_dasum_
_daxpy_
_dcopy_
_ddot_
_dgemm_
_dgemv_
_dger_
_dnrm2_
_drot_
_dscal_
_dswap_
_dsymv_
_dsyrk_
_dtbsv_
_dtpsv_
_dtrmm_
_dtrmv_
_dtrsv_
_idamax_
_xerbla_
_dtpmv_
_dtrsm_
_dgbmv_
_dsbmv_
_dspmv_
_dspr2_
_dspr_
_dsymm_
_dsyr2_
_dsyr2k_
_dsyr_
_dtbmv_
_zgemm_
/usr/bin/libto...
2009 Sep 18
0
[LLVMdev] OT: intel darwin losing primary target status
...mmacosx-version-min= -lgcc_s.
> 10.4) \
> %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.
> 10.5) \
> -lgcc}"
>
> Would it be as simple as adding...
>
> %:version-compare(>= 10.6 mmacosx-version-min= -lgcc_s.10.5) \
> -lSystem -lgcc}"
>
> or could we even use...
>
> %:version-compare(>= 10.6 mmacosx-version-min= -lgcc_s.10.5) \
> -lSystem -lgcc_s}"
>
> I think the second case would solve the outstanding issue of the
> TLS emutls not being linked in on darwin...
>
>...
2010 Apr 29
3
[LLVMdev] Mach-O LTO and local relocations
...arger programs like
aermod...
as -arch x86_64 -force_cpusubtype_ALL -o aermod.o aermod.s
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.6.3 -weak_reference_mismatches non-weak -o aermod -lcrt1.10.5.o -L./ aermod.o -lgfortran -lgcc_s.10.5 -lgcc_ext.10.5 -no_compact_unwind -lSystem -v
@(#)PROGRAM:ld PROJECT:ld64-97.2
Library search paths:
./
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
ld: in aermod.o, in section __TEXT,__text reloc 17: local relocation for address 0x000FB35C in section __text does not target section _...
2009 Sep 18
1
[LLVMdev] [PATCH] BlocksRuntime updates for Linux
...5) Avoid a warning for apple_versioning.c that "ISO C does not allow
empty files"
Tested on Ubuntu Linux 9.04 with clang and llvm-gcc and -fblocks to
define and copy some blocks (and invoke them, obviously). Also tested
on Mac OS X 10.6 and linking against -lBlocksRuntime ahead of -lSystem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blocks-linux.diff
Type: application/octet-stream
Size: 10483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090918/ebbb7903/attachment.obj>
-------------- next part --...