[Bug bootstrap/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39618 --- Comment #2 from Kurt Miller kurt at intricatesoftware dot com 2011-11-20 03:29:51 UTC --- Created attachment 25864 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25864 PCH Supoort for OpenBSD Attached is a patch against gcc-4.6.2 which uses brk/sbrk for PCH support. Since malloc uses mmap the heap is unused and at a fixed address (so long as PIE is not enabled on gcc). I originally wrote this in 2008 for 4.2 and has been in use
[Bug bootstrap/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39618 Kurt Miller kurt at intricatesoftware dot com changed: What|Removed |Added CC||kurt at intricatesoftware ||dot com --- Comment #3 from Kurt Miller kurt at intricatesoftware dot com 2011-11-20 03:31:22 UTC --- ... since then without issues. OpenBSD uses random mmap() return addresses. malloc uses mmap and the runtime linker randomizes shared library load addresses, thus using mmap as a fixed address is rather difficult on OpenBSD.
[Bug bootstrap/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39618
[Bug bootstrap/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-16 21:07 --- Sounds like mmap is not working. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39618