[Bug libstdc++/69744] New: OpenBSD does not define max_align_t

2016-02-10 Thread edd at theunixzoo dot co.uk
++ Assignee: unassigned at gcc dot gnu.org Reporter: edd at theunixzoo dot co.uk Target Milestone: --- Hi, I needed to build a "vanilla" (without all the packaging-related patches in OpenBSD ports) gcc-4.9.3 on OpenBSD-5.8/amd64. When building libstdc++ the build bomb

[Bug bootstrap/69757] New: OpenBSD requires -fPIC to build.

2016-02-10 Thread edd at theunixzoo dot co.uk
Assignee: unassigned at gcc dot gnu.org Reporter: edd at theunixzoo dot co.uk Target Milestone: --- Hi, Having worked around #69744, I am able to build GCC-4.9.3 on OpenBSD-5.8/amd64 but not a full bootstrap. If you build like this: ../configure

[Bug bootstrap/69757] OpenBSD requires -fPIC to build.

2016-02-10 Thread edd at theunixzoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69757 --- Comment #2 from Edd Barrett --- Created attachment 37660 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37660&action=edit config.log Attached is the config.log without adjusting CFLAGS and without using --with-pic. FWIW, OpenBSD has b

[Bug bootstrap/69757] OpenBSD requires -fPIC to build.

2016-02-11 Thread edd at theunixzoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69757 --- Comment #4 from Edd Barrett --- Created attachment 37662 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37662&action=edit Correct config.log Sorry, here's the right config.log

[Bug bootstrap/69757] OpenBSD requires -fPIC to build.

2016-02-11 Thread edd at theunixzoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69757 --- Comment #5 from Edd Barrett --- I notice that the previous test *did* append -fPIC (and -DPIC). The failing test does not show its input or compiler invocation, which makes this hard to debug. If you look in the libstdc++ configure script, y

[Bug bootstrap/69757] OpenBSD requires -fPIC to build.

2016-02-11 Thread edd at theunixzoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69757 --- Comment #6 from Edd Barrett --- Ah hold on. More information. If I build a gcc with --disable-bootstrap, the resulting compiler cannot build an empty C program even: % /home/vext01/research/warmup_experiment/work/gcc-inst/bin/zgcc /tmp/a.c

[Bug bootstrap/69757] OpenBSD requires -fPIC to build.

2016-02-17 Thread edd at theunixzoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69757 --- Comment #7 from Edd Barrett --- Just to follow this up. I did manage to get GCC bootstrapped by taking a subset of Pascal Stumpf's patches from OpenBSD ports. Effectively these patches enable PIE and PIC by default on OpenBSD, which seems to

[Bug bootstrap/69757] OpenBSD requires -fPIC to build.

2016-02-17 Thread edd at theunixzoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69757 --- Comment #8 from Edd Barrett --- Created attachment 37720 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37720&action=edit Patches used to bootstrap GCC on OpenBSD/amd64.