[LLVMdev] 'Reference Out Of Range' error building llvm/clang with -O4

Eli Friedman eli.friedman at gmail.com
Tue Jan 3 09:52:34 PST 2012


On Tue, Jan 3, 2012 at 9:35 AM, kent williams <nkwmailinglists at gmail.com> wrote:
> This is compiling the Trunk revision from last Friday:
>
>
> reference out of range from _llvm_regerror (1000437F0) in
> ../../lib/libLLVMSupport.a(regerror.c.o) to cstring=0 (0) in
> ../../lib/libLLVMSupport.a(regerror.c.o)
> ld: rel32 out of range in _llvm_regerror from
> ../../lib/libLLVMSupport.a(regerror.c.o)
> clang-3: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> OS X 10.6, compling LLVM with LLVM using -O4

-O4 has known issues... but I haven't seen that one in particular.
Please file a bug at llvm.org/bugs/ .

-Eli



More information about the llvm-dev mailing list