Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: Sergei Trofimovich <slyfox@g.o>
Cc: gentoo-dev@l.g.o, "Andreas K. Huettel" <dilfridge@g.o>, llvm@g.o, qa@g.o, haskell@g.o, williamh@g.o, ml@g.o, longlene@×××××.com, toolchain@g.o
Subject: Re: [gentoo-dev] New 17.0 release profiles
Date: Thu, 08 Jun 2017 07:43:46
Message-Id: 20170608094328.37067f75@gentoo.org
In Reply to: Re: [gentoo-dev] New 17.0 release profiles by Sergei Trofimovich
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