LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-16-2012, 10:06 AM   #1
AmirJamez
Member
 
Registered: Apr 2012
Posts: 42

Rep: Reputation: Disabled
Compilation error : wasted space


Hello everyone,


After a long and frustrating process of compiling a project, which you can see here and here, i got to this compilation error :

Code:
"llvm_transformed_context_ini.c", line 3411: compiler error: wasted space: 1047210000
The point is the line is just the last line of this .c file without anything written on it. I have to add that I am using HP-VEX 32 bit c compiler.

Thanks,


Amir
 
Old 09-16-2012, 12:53 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,110

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
is there only ONE "return" as the end of the file ?
or are there 100 blank lines
 
Old 09-16-2012, 01:03 PM   #3
AmirJamez
Member
 
Registered: Apr 2012
Posts: 42

Original Poster
Rep: Reputation: Disabled
the last block is just like this (with one return):


Code:
llvm_cbe_bb171:
  *(&llvm_cbe_j) = 0u;
  llvm_cbe_tmp__368 = *(&llvm_cbe_i);
  llvm_cbe_tmp__369 = ((unsigned int )(((unsigned int )llvm_cbe_tmp__368) + ((unsigned int )1u)));
  *(&llvm_cbe_i) = llvm_cbe_tmp__369;
  if ((((signed int )llvm_cbe_tmp__369) < ((signed int )22u))) {
    goto llvm_cbe_bb171;
  } else {
    goto llvm_cbe_return;
  }

  } while (1); /* end of syntactic loop 'bb171' */
llvm_cbe_return:
  return;
}
Best,

Amir
 
Old 09-16-2012, 04:19 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,110

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
oops by "return" i meant the <return> , < enter>
or
CR ( carriage return )

one blank line at the end of the file
( not mandatory any more , but some times needed)

by chance was this file edited on a MS windows computer
 
Old 09-16-2012, 07:31 PM   #5
AmirJamez
Member
 
Registered: Apr 2012
Posts: 42

Original Poster
Rep: Reputation: Disabled
I checked and there was only one enter(return), what do you suggest?

Regards,


Amir
 
Old 09-16-2012, 10:07 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 12,110

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
can you post the section of the code that the error is referring to
the section that has
" line 3411 "
of the file "llvm_transformed_context_ini.c"

work backwards from that point in the code and find what is causing it
 
Old 09-17-2012, 04:39 AM   #7
AmirJamez
Member
 
Registered: Apr 2012
Posts: 42

Original Poster
Rep: Reputation: Disabled
Question

I am sending you the whole ""llvm_transformed_context_ini.c", you can download it from here, I re-compiled the project, this time the error is at :

Code:
"llvm_transformed_context_ini.c", line 3218: warning: loop not entered at top
"llvm_transformed_context_ini.c", line 3237: warning: statement not reached
"llvm_transformed_context_ini.c", line 3248: warning: loop not entered at top
"llvm_transformed_context_ini.c", line 3268: warning: loop not entered at top
"llvm_transformed_context_ini.c", line 3287: warning: statement not reached
op: 2, val: 0
"llvm_transformed_context_ini.c", line 3291: compiler error: wasted space: 1047036660
Really frustrated :| please help.

Best,

Amir
 
  


Reply

Tags
compilation, compiler


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation error, no free space, how to clean up? sumesh.pt Linux - Newbie 21 05-30-2012 12:52 AM
LXer: agedu - Simple utility for tracking down wasted disk space LXer Syndicated Linux News 0 06-24-2010 01:10 PM
partitions : lots of space is wasted DBabo Linux - General 12 12-13-2009 11:56 AM
USB Stick and Wasted Space rioch Linux - Hardware 2 03-05-2005 11:58 AM
wasted space gonus Linux - General 15 03-03-2003 03:25 PM


All times are GMT -5. The time now is 09:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration