1 |
On Wed, 7 Jun 2017 23:05:20 +0100 |
2 |
Sergei Trofimovich <slyfox@g.o> wrote: |
3 |
|
4 |
> - dev-lang/ocaml will need to be defaulted to pie. ml@ |
5 |
|
6 |
ocaml generates its own asm code and uses gcc to link |
7 |
|
8 |
historically this caused issues on hardened since gcc had pie in its |
9 |
specs but the .o files it was linking were definitely not pie nor pic. |
10 |
|
11 |
we solved that by using -nopie |
12 |
|
13 |
these days I think ocaml generates PIC asm for amd64 (always, cant |
14 |
change that) so I'll need to review a bit that part to determine if |
15 |
it's still necessary |