On Wed, Aug 29, 2012 at 11:16 AM, Matthew Dempsky <matt...@dempsky.org> wrote: > First, make sure you're using a reasonably up to date snapshot. > You're up to date if "nm /usr/lib/crtbegin.o" mentions __guard_local.
At least two people have commented that the snapshots they downloaded don't have __guard_local yet. Here's are some extra preliminary steps to help users with old snapshots: First, binutils needs to be up to date (i.e., less than 9 days old). If it's up to date, then "ld --verbose | grep -c randomdata" will print a non-zero value. If it prints zero, follow the steps at http://www.openbsd.org/faq/current.html#20120823 to update it. Next, your C runtime files need to be up to date. If it's up to date, then "nm /usr/lib/crtbegin.o | grep -c __guard_local" will print a non-zero value. If it prints zero, follow these steps to update them: $ cd /usr/src/lib/csu $ make depend && make && make install You can now follow my original steps for patching GCC.