Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291391 - media-sound/ario-1.3: build fails with <sys-devel/gcc-4.3: unrecognized command line options
Summary: media-sound/ario-1.3: build fails with <sys-devel/gcc-4.3: unrecognized comma...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-01 03:26 UTC by Justin C
Modified: 2009-11-04 21:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My emerge --info (emerge.info.txt,4.00 KB, text/plain)
2009-11-02 01:51 UTC, Justin C
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin C 2009-11-01 03:26:07 UTC
Ario build fails with the following errors:
    cc1: error: unrecognized command line option "-Wclobbered"
    cc1: error: unrecognized command line option "-Wempty-body"
    cc1: error: unrecognized command line option "-Wignored-qualifiers"
    cc1: error: unrecognized command line option "-Wmissing-parameter-type"
    cc1: error: unrecognized command line option "-Wold-style-declaration"
    cc1: error: unrecognized command line option "-Wtype-limits"
These warning options appear to be unsupported by gcc-4.2.4.


Reproducible: Always

Steps to Reproduce:
1.  install gcc-4.2.4 and media-sound/ario-1.2.1
2.  use gcc-config to select gcc-4.2.4 toolchain
3.  emerge -uav =media-sound/ario-1.3

Actual Results:  
relevant excerpt from build log:

libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DLOCALE_DIR=\"/usr/share/locale\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I../.. -I../../src -I../../src/lib -I../../src/plugins -I../../src/sources -I../../src/shell -Wall -Wimplicit -Wunused-label -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wpointer-sign -Wclobbered -Wempty-body -Wignored-qualifiers -Wmissing-field-initializers -Wmissing-parameter-type -Wold-style-declaration -Woverride-init -Wsign-compare -Wtype-limits -Wuninitialized -Wbad-function-cast -Wold-style-definition -O2 -march=k8 -pipe -fomit-frame-pointer -MT ario-filesystem.lo -MD -MP -MF .deps/ario-filesystem.Tpo -c ario-filesystem.c  -fPIC -DPIC -o .libs/ario-filesystem.o
cc1: error: unrecognized command line option "-Wclobbered"
cc1: error: unrecognized command line option "-Wempty-body"
cc1: error: unrecognized command line option "-Wignored-qualifiers"
cc1: error: unrecognized command line option "-Wmissing-parameter-type"
cc1: error: unrecognized command line option "-Wold-style-declaration"
cc1: error: unrecognized command line option "-Wtype-limits"
make[3]: *** [ario-filesystem.lo] Error 1
...
ERROR: media-sound/ario-1.3 failed:
 *   emake failed

Expected Results:  
Build successful

to fix this issue, I...

1. installed gcc-4.3.4
2. selected gcc-4.3.4 toolchain with gcc-config
3. emerge -auv =media-sound/ario-1.3

and the build succeeds.
if you select either gcc toolchain and 'man gcc', a search for -Wclobbered fails in the gcc-4.2.4 manual, and succeeds in the gcc-4.3.4 manual.  this check inspired me to try a compile with gcc-4.3.4.

I figure a dependency may be necessary in the media-sound/ario-1.3 ebuild for >=gcc-4.3.4.
Comment 1 Justin C 2009-11-02 01:51:27 UTC
Created attachment 209014 [details]
My emerge --info
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2009-11-04 21:25:16 UTC
fixed, thanks