Installing grub-0.97-r3 with FEATURES="stricter" will not succeed because grub dereferences type-punned pointers. Reproducible: Always Steps to Reproduce: 1. FEATURES="stricter" emerge "=sys-boot/grub-0.97-r3" Actual Results: The package builds and runs its tests fine, but when it is to be merged to the system, it fails with a "QA Notice: Package has poor programming practices which may compile fine but exhibit random runtime failures." Expected Results: These warnings should not occur allowing the package to install with FEATURES="stricter". The usual solution for this warning is to remove the case causing the problem and use a union instead to allow access to the same location with different types.
Are you going to post the emerge output, or are we supposed to guess?
* QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules builtins.c:4862: warning: dereferencing type-punned pointer will break strict-aliasing rules disk_io.c:1027: warning: dereferencing type-punned pointer will break strict-aliasing rules disk_io.c:1057: warning: dereferencing type-punned pointer will break strict-aliasing rules tparm.c:719: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules builtins.c:4862: warning: dereferencing type-punned pointer will break strict-aliasing rules disk_io.c:1027: warning: dereferencing type-punned pointer will break strict-aliasing rules disk_io.c:1057: warning: dereferencing type-punned pointer will break strict-aliasing rules tparm.c:719: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules char_io.c:181: warning: dereferencing type-punned pointer will break strict-aliasing rules
Created attachment 160675 [details] emerge --info emerge --info
Created attachment 160677 [details] log
im stuck on the same error as this bug, i left part of the log and emerge --info on the attachment. thanks
(In reply to comment #5) > im stuck on the same error as this bug, i left part of the log and emerge > --info on the attachment. > > thanks > thanks...remounting proc fixed it for me