Displaying 7 results from an estimated 7 matches for "mh_dylib".
2004 May 03
2
R-1.9.0 won't compile on OSX (PR#6848)
...bRlapack.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)
2003 Apr 25
1
make? on Macos 10.2.4
...usr/local/lib -o libRlapack.dylib dlapack0.lo dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo -lf77blas -latlas -L/sw/lib -L/usr/local/lib -L/sw/lib/gcc-lib/powerpc-apple-darwin6.5/3.1 -L/sw/lib/gcc-lib/powerpc-apple-darwin6.5/3.1/../../.. -lfrtbegin -lg2c -lSystem
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module 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)
.
.
[more of this]
.
.
/sw/lib/libg2c.a(err.o) definition of common _f__icptr (size 4)
/sw/lib/libg2c.a(err.o) definition of co...
2005 Jun 10
1
source bug ? (PR#7929)
...libRlapack.dylib dlamc.lo dlapack0.lo dlapack1.lo dlapack2.lo
dlapack3.lo cmplx.lo cmplxblas.lo -L/sw/lib -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
ld: common symbols not allowed with MH_DYLIB output format with the
-multi_module option
/usr/local/lib/libg2c.a(err.o) definition of common _f__cblank (size 4)
/usr/local/lib/libg2c.a(fmt.o) definition of common _f__cnt (size 40)
/usr/local/lib/libg2c.a(fmt.o) definition of common f(char, *) (size 4)
/usr/local/lib/libg2c.a(err.o) definitio...
2004 Jun 20
0
[LLVMdev] Problems loading passes on Mac OS X
...e .so not .dylib). I couldn't figure out how to do that
right, so I didn't try and it didn't matter for getting it running,
although it's clear some make targets are messed up.
Elaboration:
not passing -module makes libtool use 'g++ -dynamiclib', which creates
Mach-O MH_DYLIB files, that only have static ctors called if a symbol
in that same file is used. (I got it to work by dlsym'ing the mangled
ctor's name, but that's not a solution.)
if you pass -module, libtool uses 'g++ -bundle', which creates Mach-O
MH_BYNDLE files, that work as dlopen(...
2004 Jun 19
2
[LLVMdev] Problems loading passes on Mac OS X
OK, seems like I've got some more looking to do.
From what I can find, the only difference with OS X and dynamic
libraries is that you can't depend on the order of calling static
constructors, but not that you can't depend on them getting called. :)
If I find that library handling in LLVM needs changes to work with OS
X, I'll send a patch.
Thanks,
-mike
On Jun 19, 2004,
2003 Apr 20
1
R 1.7.0 fails to compile on OS X 10.2.5
...usr/local/lib -o libRlapack.dylib dlapack0.lo dlapack1.lo
dlapack2.lo dlapack3.lo cmplx.lo cmplxblas.lo -L/sw/lib
-L/usr/local/lib -L/sw/lib/gcc-lib/powerpc-apple-darwin6.2/3.1
-L/sw/lib/gcc-lib/powerpc-apple-darwin6.2/3.1/../../.. -lfrtbegin -lg2c
-lSystem
ld: common symbols not allowed with MH_DYLIB output format with the
-multi_module 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)
/sw/lib/libg2c.a(fmt.o) definition of common f(char, *) (size 4)
/sw/lib/libg2c.a(err.o) definition of common f(char, long *,...
2002 Jan 02
1
multiple definitions in C code
...U dyld_stub_binding_helper
[localhost:~/Desktop/rings] deleeuw% nm -pg rings.so
00001020 S _bilbo
00000ecc T _elrond
00000f44 T _galadriel
U _printf
but now
[localhost:~/Desktop/rings] deleeuw% gcc -dynamiclib -o librings.dylib
elrond.o galadriel.o
ld: common symbols not allowed with MH_DYLIB output format
elrond.o definition of common _bilbo (size 4)
/usr/bin/libtool: internal link edit command failed
Of course we can use ar to put the object files in an archive, but if a
symbol
is defined (and initialized) more than once the table of contents cannot
be
sorted by ranlib.
===
Jan...