[LLVMdev] Fwd: MODULE_CODE_GLOBALVAR error

Dmitri Gribenko gribozavr at gmail.com
Fri Nov 9 12:41:55 PST 2012


Forwarding to llvmdev.

---------- Forwarded message ----------
From: *Dmitri Gribenko*
Date: Friday, November 9, 2012
Subject: [LLVMdev] MODULE_CODE_GLOBALVAR error
To: Arvind Haran <arvi90 at gmail.com>

On Friday, November 9, 2012, Arvind Haran wrote:

> The last few lines of the build:


It looks like you don't have enough RAM to link the debug binary.


>
> clang: error: unable to execute command: Killed
> clang: error: linker command failed due to signal 2 (use -v to see
> invocation)
> clang: note: diagnostic msg: Please submit a bug report to
> http://llvm.org/bugs/ and include command line arguments and all
> diagnostic information.
> clang: note: diagnostic msg: Error generating preprocessed source(s) - no
> preprocessable inputs.
> make[2]: *** [/home/arvind/build/Debug+
> Asserts/bin/opt] Error 254
> make[2]: Leaving directory `/home/arvind/build/tools/opt'
> make[1]: *** [opt/.makeall] Error 2
> make[1]: Leaving directory `/home/arvind/build/tools'
> make: *** [all] Error 1
>
>
> On Fri, Nov 9, 2012 at 1:26 PM, Dmitri Gribenko <gribozavr at gmail.com>wrote:
>
>>
>>
>> On Thursday, November 8, 2012, Arvind Haran wrote:
>>
>>> Hi,
>>>
>>> I have istalled LLVM 3.1 Release+Asserts build. I was just trying out
>>> the hello world sequence of steps in the installation instructions. However
>>> when I run lli or llvm-dis I get an error "invalid MODULE_CODE_GLOBALVAR
>>> record".
>>>
>>> I have searched the web and I am not able to fathom what the problem and
>>> its fix is. I have GCC 4.6.3 running on a Ubuntu 12.04 LTS x86-64.
>>>
>>> Please let me know what the fix is.
>>
>>
>> Please try with latest svn.
>>
>>
>>>
>>> I also tried installing the Debug+Asserts build from the svn. It
>>> generates an error while installing.
>>
>>
>> Please provide more information about the error, preferably the last
>> lines of the build output.
>>
>> Dmitri
>>
>>
>>
>> --
>> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
>> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>>
>
>
>
> --
> Arvind Haran
>
> -I did well in school. They call that a paradox.
>
>

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko
<gribozavr at gmail.com<javascript:_e({}, 'cvml',
'gribozavr at gmail.com');>
>*/



-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121109/79db82f0/attachment.html>


More information about the llvm-dev mailing list