[LLVMdev] darwin dragon-egg build issues

Jack Howarth 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.
>
> Ciao,
>
> Duncan.

Duncan,
   With the proposed patches...

http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00545.html
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00714.html

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
2.7 release.
            Jack




More information about the llvm-dev mailing list