Get "invalid option '-fplugin-arg-dragonegg-disable-llvm-optzns'" while making llvm test-suite

hi,

I have dragonegg r131864, gcc-4.5 r174052 and llvm r131897. When i
tried to make the llvm test-suite, i got a error message:

/home/ether/local/gcc-4.5/bin/gcc
-fplugin=/home/ether/sources/dragonegg/dragonegg.so
-I/home/ether/build/llvm-ts/projects/test-suite/SingleSource/UnitTests/Vector/SSE
-I/home/ether/sources/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE
-I/home/ether/build/llvm-ts/projects/test-suite/../../../../sources/llvm/projects/test-suite/include
-I../../../../include -I/home/ether/build/llvm-ts/include
-I/home/ether/sources/llvm/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-DNDEBUG -O3 -fplugin-arg-dragonegg-disable-llvm-optzns -msse2 -m64
-fomit-frame-pointer -S
/home/ether/sources/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE/sse.shift.c
-o Output/sse.shift.ll -fplugin-arg-dragonegg-emit-ir
cc1: error: invalid option '-fplugin-arg-dragonegg-disable-llvm-optzns'
cc1: error: Fail to initialize plugin /home/ether/sources/dragonegg/dragonegg.so

Any help is appreciated.

best regards
ether

Hi ether,

I have dragonegg r131864, gcc-4.5 r174052 and llvm r131897. When i
tried to make the llvm test-suite, i got a error message:

...

cc1: error: invalid option '-fplugin-arg-dragonegg-disable-llvm-optzns'
cc1: error: Fail to initialize plugin /home/ether/sources/dragonegg/dragonegg.so

this is my fault: you now need to use
   -fplugin-arg-dragonegg-llvm-ir-optimize=0
I will fix the testsuite later today.

Ciao, Duncan.

hi Duncan,

this is my fault: you now need to use
-fplugin-arg-dragonegg-llvm-ir-optimize=0
I will fix the testsuite later today.

Thanks a lot :slight_smile:

best regards
ether