[LLVMdev] llvm/test: suffix or operands invalid for `push'

Eric Christopher echristo at apple.com
Fri Feb 29 15:02:33 PST 2008


>>>
>>> Those are valid instructions in every x86-32 assembler I'm aware of.
>>> Perhaps it needs a switch to put it in 32-bit mode?
>>
>> Yes, I have been able to confirm that's what's happening behind the
>> scene. The switch would be --32, however after that, ld will try to
>> link
>> the 64-bit versions of libc and the C runtime.
>>
>> I was able to trigger the problem during ./configure, by using llvm-
>> gcc.
>> With configure, it was fixable for the whole toolchain by saying
>> --target=i686, so there is hope.
>>
>> Unfortunately, make check doesn't seem to use the setting
>> from ./configure; this is what I see in site.exp, regardless of any
>> CC=
>> or CFLAGS= settings on make check:
>> set gccpath "gcc"
>> set gxxpath "g++"
>>
>> Should I edit site.exp to fix that, or is there a better way?
>

I'm coming into this late so I'm not really sure what's going on, but  
you
can pass options to dejagnu pretty easily using RUNTESTFLAGS. That
aside though, what are you doing, and what are you trying to  
accomplish? :)

-eric



More information about the llvm-dev mailing list