Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 268929

Summary: Prepare portage for gcc 4.4.0
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: minor CC: facorread, tristan
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077, 288499    
Attachments: patch for portage trunk

Description Rafał Mużyło 2009-05-07 11:37:54 UTC
Seeing as the bit I put in acpid bug seems missed,
I'll repeat the problem here.
bin/misc-functions.sh checks (among others) for
": warning: dereferencing type-punned pointer will break strict-aliasing rules$"
however gcc 4.4.0 has an even stronger warning:
": warning: dereferencing pointer ‘<pointer name>’ does break strict-aliasing rules"
It looks like it should be added to the list of the warnings captured by portage.
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2009-05-31 00:46:45 UTC
Created attachment 193028 [details, diff]
patch for portage trunk

Here's a patch to add the warning to portage (applies to trunk, probably to 2.1.6 branch)
Comment 2 Zac Medico gentoo-dev 2009-05-31 06:17:20 UTC
(In reply to comment #1)
> Created an attachment (id=193028) [edit]
> patch for portage trunk
> 
> Here's a patch to add the warning to portage (applies to trunk, probably to
> 2.1.6 branch)
> 

Thanks, that's in svn r13626.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-06-23 07:15:55 UTC
*** Bug 275129 has been marked as a duplicate of this bug. ***
Comment 4 Zac Medico gentoo-dev 2009-08-03 23:01:40 UTC
This is fixed in 2.2_rc34.
Comment 5 Rafał Mużyło 2009-09-19 13:10:42 UTC
So, to keep it clean (hope nobody minds).
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-19 14:30:23 UTC
The fix isn't yet available in unmasked versions of Portage (2.1.*).
Comment 7 Zac Medico gentoo-dev 2009-10-11 00:46:34 UTC
This is fixed in 2.1.7.