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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

kent williams-5
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
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: 'Reference Out Of Range' error building llvm/clang with -O4

Eli Friedman-2
On Tue, Jan 3, 2012 at 9:35 AM, kent williams <[hidden email]> 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
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: 'Reference Out Of Range' error building llvm/clang with -O4

Devang Patel
In reply to this post by kent williams-5
Hi Kent,

On Jan 3, 2012, at 9:35 AM, kent williams 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

Please file a bugzilla report with enough information for someone else to reproduce this error.
Thanks!
-
Devang

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev