[Lunar-bugs] [Lunar Linux 0000312]: Cannot compile and install glibc-2.7

Lunar bug reports list lunar-bugs at lunar-linux.org
Mon Dec 10 15:44:10 CET 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=312 
====================================================================== 
Reported By:                piggy
Assigned To:                Moe
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   312
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Moonbase Version:           20071122.05 
Core Tools:                 Lunar 
Core Tools Version:         20070623 
====================================================================== 
Date Submitted:             11-23-2007 05:25 CET
Last Modified:              12-10-2007 15:44 CET
====================================================================== 
Summary:                    Cannot compile and install glibc-2.7
Description: 
Dear sir:
Could you please check my log file why can't I install glibc-2.7 to my old
server and new server.
For the old server. It hasn't got any compile log of glibc-2.7.
Please help me to fix it.
Best Regards


====================================================================== 

---------------------------------------------------------------------- 
 hitchi - 11-23-07 06:15  
---------------------------------------------------------------------- 
Hello, possibly you just need to choose your cpu in "lunar optimize". 

---------------------------------------------------------------------- 
 florin - 11-24-07 10:05  
---------------------------------------------------------------------- 
I use on my system the -Os gcc optimization setting. I know some other ppl
use it too, becauze I get a good balance between size and speed of the
code. The new glibc module won't compile with this setting. There is a
small modif in the BUILD file which can be done in order to compile glibc.
It was proposed at the testing time too. You can try it too. Just replace
in the BUILD file the line:

  export CC=gcc

with the lines:

  # Don't allow too much damage
  unset CFLAGS CXXFLAGS CPPFLAGS LD_LIBRARY_PATH

  # glibc wants -march=i486 greater or less is NOT compiling.
  export CC="gcc -march=i486"
  export CXX="g++ -march=i486" 

---------------------------------------------------------------------- 
 Moe - 11-24-07 13:36  
---------------------------------------------------------------------- 
No, I'm not going to go back to the pre-2.3.x BUILD script. If it fails for
you florin its most likely a different issue. If you still think its that
one particular flag please point me to your reference. 

---------------------------------------------------------------------- 
 florin - 11-24-07 13:36  
---------------------------------------------------------------------- 
You can skip the 

 # Don't allow too much damage
  unset CFLAGS CXXFLAGS CPPFLAGS LD_LIBRARY_PATH

lines. On my systen it compiles without them. 

---------------------------------------------------------------------- 
 piggy - 11-29-07 02:48  
---------------------------------------------------------------------- 
Hi..All.
Thank you very much for your good advice.
Now I can compile it.
Best regards 

---------------------------------------------------------------------- 
 hdw - 11-29-07 06:28  
---------------------------------------------------------------------- 
I also failed to build glibc-2.7 with "-Os"
but was able to build it with "-O2".
I don't know why though... 

---------------------------------------------------------------------- 
 Moe - 12-10-07 15:44  
---------------------------------------------------------------------- 
Please tell me whether this bug has been resolved or not. Its clearly the
same issue a couple of users have encountered during the upgrade process.
Set your CPU optimizations to the right level and be done. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-23-07 05:25  piggy          New Issue                                    
11-23-07 05:25  piggy          File Added: glibc-2.7-new_server.bz2             
      
11-23-07 05:25  piggy          Moonbase Version          => 20071122.05     
11-23-07 05:25  piggy          Core Tools                => Lunar           
11-23-07 05:25  piggy          Core Tools Version        => 20070623        
11-23-07 05:26  piggy          File Added: activity-New_server                  
 
11-23-07 05:26  piggy          File Added: activity-Old_server                  
 
11-23-07 06:15  hitchi         Note Added: 0000702                          
11-24-07 10:05  florin         Note Added: 0000703                          
11-24-07 13:36  Moe            Note Added: 0000706                          
11-24-07 13:36  florin         Note Added: 0000707                          
11-27-07 06:17  wo_dao         Issue Monitored: wo_dao                      
11-29-07 02:48  piggy          Note Added: 0000716                          
11-29-07 06:28  hdw            Note Added: 0000717                          
12-10-07 15:44  Moe            Note Added: 0000722                          
12-10-07 15:44  Moe            Assigned To               => Moe             
12-10-07 15:44  Moe            Status                   new => feedback     
======================================================================



More information about the Lunar-bugs mailing list