apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject APR_RING aliasing problem / segfaults with gcc 4.5
Date Tue, 22 Feb 2011 22:18:14 GMT
Hi,

there is still the strict aliasing problem with the APR_RING macros 
which causes httpd to segfault with gcc 4.5 [1,2]. Has anyone found a 
better solution to that than marking the ring head elements volatile? 
A similar change has already been made for the ring entry elements in 
r566349.

This is something we need to fix in the next 1.4.x release. If there 
is no other suggestion, I will commit this fix [3].

Cheers,
Stefan



[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=50190
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=50798
[3] http://svn.mandriva.com/cgi-
bin/viewvc.cgi/packages/cooker/apr/current/SOURCES/apr-1.4.2-
alias.patch?view=markup&pathrev=604557

Mime
View raw message