I've updated my powerbook to the latest snapshot today. I can't build a
simple C program with the option -Wl,-z,wxneeded. The linker always
shows the same error.
# gcc test.c
# gcc -Wl,-z,wxneeded test.c
/usr/bin/ld: a.out: Not enough room for program headers (allocated 12, need 13)
Section to Segment mapping:
Segment Sections...
00: PHDR:
01: INTERP: .interp
02: LOAD: .interp .note.openbsd.ident .hash .dynsym .dynstr
.rela.dyn .rela.plt .init .text .fini
03: LOAD: .eh_frame
04: LOAD: .openbsd.randomdata .jcr .dynamic .data
05: LOAD: .got .ctors .dtors
06: LOAD: .sdata
07: LOAD: .plt
08: LOAD: .bss
09: DYNAMIC: .dynamic
10: NOTE: .note.openbsd.ident
11: OPENBSD_WXNEED:
12: OPENBSD_RANDOM: .openbsd.randomdata
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
# cat test.c
int main() { return 0; }
--
Juan Francisco Cantero Hurtado http://juanfra.info