[LLVMdev] dragonegg build failure
howarth at bromo.med.uc.edu
Fri Apr 8 04:37:39 PDT 2011
On Fri, Apr 08, 2011 at 08:28:27AM +0200, Duncan Sands wrote:
> Hi Jack,
> > The new dragonegg 2.9 sources fail to build against either FSF gcc 4.5.2 or 4.5.3svn
> > (with the i386_static.diff patch applied) on x86_64-apple-darwin10. In both cases, the
> > build fails as...
> what does the command
> ./TargetInfo -p
> return (the TargetInfo program is created during the dragonegg build).
> Some of your errors are consistent with this program failing to run.
Yes, the result from "./TargetInfo -p" is incorrect under darwin10...
In FSF config.guess, we had to add...
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
case $UNAME_PROCESSOR in
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
unknown) UNAME_PROCESSOR=powerpc ;;
to make sure that the architecture was set to the default code generation
of the system compiler and not the default code architecture of the running
> Ciao, Duncan.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev