[uClibc 0000816]: uclibc/utils/readelf.c needs -std=iso9899:1990 to compile

bugs at busybox.net bugs at busybox.net
Sun Apr 9 22:01:55 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=816 
====================================================================== 
Reported By:                alessio
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   816
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 unable to reproduce
Fixed in Version:           
====================================================================== 
Date Submitted:             04-07-2006 04:05 PDT
Last Modified:              04-09-2006 15:01 PDT
====================================================================== 
Summary:                    uclibc/utils/readelf.c needs -std=iso9899:1990 to
compile
Description: 
I'm not sure what's going on here. I can't tell if readelf.c is being
compiled with my platform compiler (gcc 3.4.4) or the xgcc 4.1 that I have
configured in buildroot. I guess the latter.

The solution is appending -std=iso9899:1990 to CFLAGS-ultils-common or
CFLAGS-readelf in utils/Makefile.in

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

---------------------------------------------------------------------- 
 vapier - 04-09-06 15:01  
---------------------------------------------------------------------- 
no real information here

readelf is a target util so it uses your cross-compiler

ive never had a problem with readelf compiling using gcc-4.1.0 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-07-06 04:05  alessio        New Issue                                    
04-07-06 04:05  alessio        Status                   new => assigned     
04-07-06 04:05  alessio        Assigned To               => uClibc          
04-09-06 15:00  vapier         Project                  buildroot => uClibc 
04-09-06 15:01  vapier         Note Added: 0001242                          
04-09-06 15:01  vapier         Status                   assigned => closed  
04-09-06 15:01  vapier         Resolution               open => unable to
reproduce
======================================================================




More information about the uClibc-cvs mailing list