Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166723 - media-libs/openal-0.0.8 GCC 4.2 patch
Summary: media-libs/openal-0.0.8 GCC 4.2 patch
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
: 180846 186544 (view as bug list)
Depends on:
Blocks: gcc-4.2
  Show dependency tree
 
Reported: 2007-02-13 20:41 UTC by Ryan Hill (RETIRED)
Modified: 2007-08-30 01:01 UTC (History)
6 users (show)

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


Attachments
004_all_gcc42.patch (004_all_gcc42.patch,1.22 KB, patch)
2007-02-13 20:42 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2007-02-13 20:41:38 UTC
the attached patch prevents the following error when compiling packages such as dev-games/simgear with GCC 4.2:

  In file included from ../../simgear/sound/soundmgr_openal.hxx:50,
                   from visual_enviro.cxx:34:
  /usr/include/AL/alc.h:190: error: '<anonymous>' has incomplete type
  /usr/include/AL/alc.h:190: error: invalid use of 'ALCvoid'
  /usr/include/AL/alc.h:251: error: '<anonymous>' has incomplete type
  /usr/include/AL/alc.h:251: error: invalid use of 'ALCvoid'
  make[3]: *** [visual_enviro.o] Error 1

It matches what appears in upstream's SVN.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2007-02-13 20:42:33 UTC
Created attachment 110100 [details, diff]
004_all_gcc42.patch
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-13 21:10:58 UTC
Added to CVS... thanks for the patch!
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-06-10 17:12:32 UTC
*** Bug 180846 has been marked as a duplicate of this bug. ***
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2007-08-06 16:54:12 UTC
*** Bug 186544 has been marked as a duplicate of this bug. ***
Comment 5 James Ausmus 2007-08-29 18:34:38 UTC
This *needs* to have been a revision bump on the ebuild! If you had openal-0.0.8-r1 compiled prior to 2007-02-13, then you won't pick up this patch, and it has started to cause problems with other builds (see bug #165135) - this is the second time in a few weeks that I've run into issues with ebuilds and GCC 4.2 just because the updated ebuilds were never rev-bumped to cause a recompile with the patch - I don't understand the reasoning behind *not* rev-bumping the ebuild...
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-30 01:01:29 UTC
Simply put, current policy actually says that "build-time fixes" do not require a revision bump, so many developers don't do a bump to reduce the recompiling that people are forced to do.  This particular instance is a case where what we thought was only a compile-time fix really is not.

Anyway, I forced a bump for everyone this morning, before I even saw this.  In the future, please file a new bug for this sort of thing, as many of us are much less likely to notice comments on bugs we've already resolved.