[LLVMbugs] [Bug 4507] New: Current (74823) LLVM fails to compile on DragonFly

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jul 6 04:06:38 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4507

           Summary: Current (74823) LLVM fails to compile on DragonFly
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: swildner at erpicon.de
                CC: llvmbugs at cs.uiuc.edu


Current LLVM fails to compile on DragonFly:

----->8-----
gmake[2]: Entering directory `/home/s/tmp/compile/llvm/utils/TableGen'
llvm[2]: Linking Release executable tblgen (without symbols)
/home/s/tmp/compile/llvm/Release/lib/libLLVMSystem.a(Errno.o): In function
`llvm::sys::StrError()':
Errno.cpp:(.text+0x80): undefined reference to `llvm::sys::errno'
gmake[2]: *** [/home/s/tmp/compile/llvm/Release/bin/tblgen] Error 1
gmake[2]: Leaving directory `/home/s/tmp/compile/llvm/utils/TableGen'
gmake[1]: *** [TableGen/.makeall] Error 2
gmake[1]: Leaving directory `/home/s/tmp/compile/llvm/utils'
gmake: *** [all] Error 1
-----8<-----

DragonFly's <errno.h> defines errno thus:

----->8-----
extern __thread int     errno;

#include <sys/cdefs.h>
static __inline int *__error(void)
{
        return (&errno);
}

#define errno           (* __error())
-----8<-----

Regards,
Sascha


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list