[LLVMdev] darwin dragon-egg build issues
howarth at bromo.med.uc.edu
Tue Apr 13 16:22:35 PDT 2010
On Tue, Apr 13, 2010 at 09:01:16AM +0200, Duncan Sands wrote:
> Hi Jack,
>> bash-3.2$ gcc-4 hello.c -S -O1 -o - -fplugin=./dragonegg.so
>> cc1: error: Cannot load plugin ./dragonegg.so
>> dlopen(./dragonegg.so, 10): Symbol not found: _classify_argument
> looks like you forgot to apply the i386_static.diff patch to gcc.
With the proposed patches...
I am able to build dragon-egg svn against the current
svn of llvm and my gcc45 package. It has been able to
compile simple c code at -O3. Nice.
Would you please consider adjusting the current dragon-egg
svn for compilation against llvm-2.7 and spinning off a
tarball for the llvm 2.7 release. I was thinking you might
use something like... dragon-egg-gcc4.5-2.7 to reflect that
it is a reference release for llvm 2.7 and buildable against
gcc 4.5.0. If you can do that, I plan on creating a fink
dragon-egg package with compiler wrappers to automate its
use when I update the llvm/llvm-gcc42 fink packages to the
More information about the llvm-dev