Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601016 - dev-java/icedtea-7.2.6.8: disable pch usage on hardened kernels
Summary: dev-java/icedtea-7.2.6.8: disable pch usage on hardened kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-27 17:01 UTC by Ondřej Guth
Modified: 2018-01-03 22:18 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=dev-java/icedtea-7.2.6.8::gentoo' (file_601016.txt,6.25 KB, text/plain)
2016-11-27 17:01 UTC, Ondřej Guth
Details
build.log (build.log,603.80 KB, text/plain)
2016-11-27 17:03 UTC, Ondřej Guth
Details
3.2.0 build.log (icedtea-3.2.0-build.log,273.32 KB, text/plain)
2016-11-29 23:01 UTC, William
Details
emerge --info (not on hardened) (e-info.txt,19.95 KB, text/plain)
2016-11-29 23:02 UTC, William
Details
no distcc (build.log,250.71 KB, text/plain)
2016-12-03 18:32 UTC, William
Details
icedtea build.log (build.log,474.31 KB, text/plain)
2016-12-04 16:07 UTC, Ondřej Guth
Details
icedtea environment (environment,189.18 KB, text/plain)
2016-12-04 16:08 UTC, Ondřej Guth
Details
Preprocessed output (ad_x86_64_clone.o.bz2,472.62 KB, application/x-bzip)
2016-12-07 09:28 UTC, Ondřej Guth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondřej Guth 2016-11-27 17:01:08 UTC
Created attachment 454530 [details]
emerge --info '=dev-java/icedtea-7.2.6.8::gentoo'

When I try to emerge dev-java/icedtea-7.2.6.8 with gcc-5.4.0, it always fails with a segmentation fault of cc1plus. 

Step to reproduce:
x86_64-pc-linux-gnu-g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm/prims -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm/precompiled -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/cpu/x86/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os_cpu/linux_x86/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os/linux/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"24.121-b00\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"portage\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea 2.6.8\"" -DDISTRIBUTION_ID="\"Gentoo Base System release 2.3, package Gentoo icedtea-7.2.6.8\"" -march=native -O2 -pipe -fomit-frame-pointer -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -std=gnu++98  -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -std=gnu++98 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -DINCLUDE_TRACE=1  -Wpointer-arith -Wsign-compare    -DDTRACE_ENABLED -c -fpch-deps -MMD -MP -MF ../generated/dependencies/accessFlags.o.d -o accessFlags.o /home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm/utilities/accessFlags.cpp

Result:
x86_64-pc-linux-gnu-g++: internal compiler error: Segmentation fault (program cc1plus)

Kernel messages:
Nov 27 17:51:54 kernel: cc1plus[22598]: segfault at 3863feb3ec8 ip 00000000011d68b7 sp 00000389735c8d10 error 4 in cc1plus[400000+1541000]
Nov 27 17:51:54 kernel: grsec: Segmentation fault occurred at 000003863feb3ec8 in /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1plus[cc1plus:22598] uid/euid:0/0 gid/egid:0/0, parent /
usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:22597] uid/euid:0/0 gid/egid:0/0
Comment 1 Ondřej Guth 2016-11-27 17:03:27 UTC
Created attachment 454532 [details]
build.log
Comment 2 William 2016-11-29 23:01:28 UTC
Created attachment 454730 [details]
3.2.0 build.log
Comment 3 William 2016-11-29 23:02:19 UTC
Created attachment 454732 [details]
emerge --info (not on hardened)
Comment 4 William 2016-11-29 23:03:52 UTC
I'm getting this on both 3.2.0 & 7.2.6.8, but I'm not on a hardened profile, maybe this should be reassigned to an other team?

I've attached emerge info & build.log for 3.2.0.
Comment 5 Ondřej Guth 2016-11-30 08:37:25 UTC
I agree, this is probably not related to hardened.
Comment 6 James Le Cuirot gentoo-dev 2016-12-03 14:15:18 UTC
Sorry for passing the buck but it's gcc failing, not Java, so I'm reassigning to the toolchain team. I'm slightly suspicious of both your CXXFLAGS.

Ondřej, please retest without -fvisibility-inlines-hidden. Also -fomit-frame-pointer does nothing on amd64 IIRC.

William, isn't that ridiculously long list included in -march=broadwell?
Comment 7 James Le Cuirot gentoo-dev 2016-12-03 14:20:36 UTC
William, please also retest with distcc disabled.
Comment 8 William 2016-12-03 18:32:23 UTC
Created attachment 455002 [details]
no distcc

Same thing without distcc.
Comment 9 James Le Cuirot gentoo-dev 2016-12-03 20:15:49 UTC
For the record, I've just built icedtea 3.2.0 with gcc 5.4.0 and it worked fine.
Comment 10 Ondřej Guth 2016-12-04 16:07:47 UTC
Created attachment 455096 [details]
icedtea build.log

Without -fomit-frame-pointer, no change.
Comment 11 Ondřej Guth 2016-12-04 16:08:47 UTC
Created attachment 455098 [details]
icedtea environment
Comment 12 SpanKY gentoo-dev 2016-12-05 20:09:44 UTC
look in `dmesg` to see if there's anything interesting in there

try going into the build dir and running the command from build.log that is crashing.  if it still fails for you there, change the -c flag to -E and attach the output of the command here for us (you'll prob have to compress it).
Comment 13 Ondřej Guth 2016-12-07 09:24:26 UTC
Nothing related in dmesg. Just segfault report in syslog:

Dec  7 10:17:30 kernel: cc1plus[6290]: segfault at 3c75c743b10 ip 00000000011d68b7 sp 000003f25d2a7750 error 4 in cc1plus[400000+1541000]
Dec  7 10:17:30 kernel: grsec: Segmentation fault occurred at 000003c75c743b10 in /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1plus[cc1plus:6290] uid/euid:0/0 gid/egid:0/0, parent /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:6289] uid/euid:0/0 gid/egid:0/0
Dec  7 10:17:30 kernel: grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1plus[cc1plus:6290] uid/euid:0/0 gid/egid:0/0, parent /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:6289] uid/euid:0/0 gid/egid:0/0
Comment 14 Ondřej Guth 2016-12-07 09:28:33 UTC
Created attachment 455384 [details]
Preprocessed output

Result of
x86_64-pc-linux-gnu-g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm/prims -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm/precompiled -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/cpu/x86/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os_cpu/linux_x86/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os/linux/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"24.121-b00\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"portage\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea 2.6.8\"" -DDISTRIBUTION_ID="\"Gentoo Base System release 2.3, package Gentoo icedtea-7.2.6.8\"" -march=native -O2 -pipe -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -std=gnu++98  -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -std=gnu++98 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -DINCLUDE_TRACE=1  -Wpointer-arith -Wsign-compare    -DDTRACE_ENABLED -E -fpch-deps -MMD -MP -MF ../generated/dependencies/ad_x86_64_clone.o.d -o ad_x86_64_clone.o ../generated/adfiles/ad_x86_64_clone.cpp
Comment 15 SpanKY gentoo-dev 2016-12-07 17:13:29 UTC
while you aren't using a hardened profile, you are using a hardened (grsec) kernel.  that does not work well with pch which it looks like icedtea is using.

if that manual compile was crashing for you, try dropping the -fpch-deps flag and try to compile it again.
Comment 16 James Le Cuirot gentoo-dev 2016-12-07 17:29:42 UTC
(In reply to SpanKY from comment #15)
> while you aren't using a hardened profile, you are using a hardened (grsec)
> kernel.  that does not work well with pch which it looks like icedtea is
> using.

Are you implying I should mask that flag on hardened?
Comment 17 SpanKY gentoo-dev 2016-12-07 18:30:46 UTC
(In reply to James Le Cuirot from comment #16)

if that's the source of the problem, then yes.  you can use `host-is-pax` from the pax-utils eclass to detect the scenario.  pch flags only speed up the compile, it doesn't affect the final installed objects.

let's get confirmation from the reporters though that dropping the flag helps.
Comment 18 Magnus Granberg gentoo-dev 2016-12-07 22:20:14 UTC
What do paxctl-ng -v /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1plus show?
Comment 19 Ondřej Guth 2016-12-08 13:57:45 UTC
(In reply to Magnus Granberg from comment #18)
> What do paxctl-ng -v /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1plus show?

/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1plus:
        PT_PAX    : not found
        XATTR_PAX : -e-r-
Comment 20 Ondřej Guth 2016-12-08 14:01:22 UTC
(In reply to SpanKY from comment #15)
> while you aren't using a hardened profile, you are using a hardened (grsec)
> kernel.  that does not work well with pch which it looks like icedtea is
> using.
> 
> if that manual compile was crashing for you, try dropping the -fpch-deps
> flag and try to compile it again.

I am using a hardened profile and hardened kernel.

Without -fpch-deps, no change:
x86_64-pc-linux-gnu-g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm/prims -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/share/vm/precompiled -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/cpu/x86/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os_cpu/linux_x86/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os/linux/vm -I/home/portage/portage/dev-java/icedtea-7.2.6.8/work/icedtea-2.6.8/openjdk/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"24.121-b00\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"portage\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea 2.6.8\"" -DDISTRIBUTION_ID="\"Gentoo Base System release 2.3, package Gentoo icedtea-7.2.6.8\"" -march=native -O2 -pipe -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -std=gnu++98  -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -std=gnu++98 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -DINCLUDE_TRACE=1  -Wpointer-arith -Wsign-compare    -DDTRACE_ENABLED -c -MMD -MP -MF ../generated/dependencies/ad_x86_64_clone.o.d -o ad_x86_64_clone.o ../generated/adfiles/ad_x86_64_clone.cpp


Dec  8 14:55:23 guthondr-t520 kernel: cc1plus[15783]: segfault at 3c75c743b10 ip 00000000011d68b7 sp 0000039a73aa3890 error 4 in cc1plus[400000+1541000]
Dec  8 14:55:23 guthondr-t520 kernel: grsec: Segmentation fault occurred at 000003c75c743b10 in /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1plus[cc1plus:15783] uid/euid:0/0 gid/egid:0/0, parent /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_
64-pc-linux-gnu-g++[x86_64-pc-linux:15782] uid/euid:0/0 gid/egid:0/0
Dec  8 14:55:23 guthondr-t520 kernel: grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1plus[cc1plus:15783] uid/euid:0/0 gid/egid:0/0, parent /usr/x86_64-pc
-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:15782] uid/euid:0/0 gid/egid:0/0
Comment 21 SpanKY gentoo-dev 2016-12-08 17:09:07 UTC
it's prob not just that flag.  earlier in the log is:
  Generating precompiled header precompiled.hpp.gch

so need to have icedtea disable all precompiled header usage.
Comment 22 devsk 2016-12-13 05:30:33 UTC
Is there a workaround we can use? I am running into this compiling with gcc 4.9.4 as well as gcc 6.2.0.
Comment 23 James Le Cuirot gentoo-dev 2016-12-13 07:58:42 UTC
(In reply to devsk from comment #22)
> Is there a workaround we can use? I am running into this compiling with gcc
> 4.9.4 as well as gcc 6.2.0.

vapier is suggesting to try USE=-pch. Please let us know if that works.
Comment 24 Ondřej Guth 2016-12-13 12:15:29 UTC
(In reply to James Le Cuirot from comment #23)
> (In reply to devsk from comment #22)
> > Is there a workaround we can use? I am running into this compiling with gcc
> > 4.9.4 as well as gcc 6.2.0.
> 
> vapier is suggesting to try USE=-pch. Please let us know if that works.

I have just successfully emerge dev-java/icedtea-3.2.0 with USE=-pch (default on my profile).
Comment 25 Ondřej Guth 2016-12-13 12:16:43 UTC
There is no such USE flag "pch" for dev-java/icedtea-7.2.6.8 which fails to compile for me, so I haven't tried.
Comment 26 devsk 2016-12-13 20:48:02 UTC
Confirming: 3.2.0 builds fine with -pch with 6.2.0.
Comment 27 SpanKY gentoo-dev 2016-12-14 16:31:22 UTC
ok, i think we can be confident it's a problem with the icedtea ebuild.

instead of USE=pch, i'd suggest using dynamic detection (see comment #17).  that'll make it work on all kernels, not just hardened profiles.  you could even make that change to the 3.2.0 ebuild.
Comment 28 James Le Cuirot gentoo-dev 2016-12-18 14:08:50 UTC
Okay, I can disable this dynamically. There is no configure flag for 7 but I think it can still be done. This isn't making sense though. Precompiled headers were always used before. What's new is the ability to disable them. Why has this suddenly become a problem? I really want to ask upstream but he's been very quiet of late.
Comment 29 SpanKY gentoo-dev 2016-12-18 17:04:49 UTC
(In reply to James Le Cuirot from comment #28)

i'm not sure what your relative points are.  icedtea-3 had a USE=pch flag which has been masked in hardened profiles.  icedtea-7 doesn't have that flag, so it'll always fail.  it's probably a simple matter of a venn diagram: the population of users running a hardened kernel & building icedtea from source & reporting bugs when they fail in this case is probably low.

using precompiled headers on hardened kernels is known to always fail because of how gcc implements it internally.  it's not the fault of icedtea, although it would be nice if they could offer a configure flag again.
Comment 30 James Le Cuirot gentoo-dev 2016-12-18 20:18:46 UTC
(In reply to SpanKY from comment #29)
> (In reply to James Le Cuirot from comment #28)
> 
> i'm not sure what your relative points are.  icedtea-3 had a USE=pch flag
> which has been masked in hardened profiles.  icedtea-7 doesn't have that
> flag, so it'll always fail.  it's probably a simple matter of a venn
> diagram: the population of users running a hardened kernel & building
> icedtea from source & reporting bugs when they fail in this case is probably
> low.

I didn't realise the flag was already masked but that aside, I know for a fact that people have successfully built icedtea on hardened before. fordfrog, who is on the Java team, is one such example.
Comment 31 SpanKY gentoo-dev 2016-12-19 05:50:38 UTC
(In reply to James Le Cuirot from comment #30)

keep in mind that running a hardened profile in the userland does not mean you're running a "hardened" kernel -- that means you've applied the grsec patchset and turned on the PaX features.  you can do the latter w/out the former.
Comment 32 Andrew John Hughes 2017-03-06 15:50:53 UTC
IcedTea 3.x's pch flag is a recent addition, and comes about because IcedTea 3.2.0 allowed pre-compiled headers to be disabled (http://bitly.com/it30200). All prior versions of IcedTea, including the entire 1.x and 2.x series, have always been built *with* pre-compiled headers.

The feature is due to be added to the 2.x series in 2.7.0 (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3180) but, if your gcc is really failing because of pre-compiled headers, then it would have done so for the last decade of IcedTea/OpenJDK. Thus, I find it hard to believe that's the only issue here.

The java overlay has a 2.7.0 ebuild, though it's not currently up-to-date. Once updated, this could be tried to see if disabling pch works with 2.x as well.
Comment 33 Andrew John Hughes 2017-03-06 15:51:51 UTC
Incidentally, I ran a hardened kernel with PaX for years, building IcedTea/OpenJDK daily, with pch. So, again, I doubt that's the only cause.
Comment 34 SpanKY gentoo-dev 2017-03-06 17:50:00 UTC
(In reply to Andrew John Hughes from comment #32)

it is a well known problem that gcc running under hardened kernels (i.e. PaX stuff turned on) cannot support PaX.  if it worked for you, then you just got lucky, or you didn't enable all the kernel config options that other people are.

see bug 301299 for details as to why PCH support fundamentally cannot work.
Comment 35 James Le Cuirot gentoo-dev 2017-03-06 22:11:25 UTC
Guys, there's no need to get hung up on the whys and wherefores, we can simply say that PaX breaks pch at least some of the time. I'll keep the pch flag but make it ineffective when host-is-pax returns true. This can go into 3 now and 7.2 later.
Comment 36 James Le Cuirot gentoo-dev 2017-03-08 14:00:30 UTC
(In reply to James Le Cuirot from comment #35)
> I'll keep the pch
> flag but make it ineffective when host-is-pax returns true. This can go into
> 3 now and 7.2 later.

3 is now done.
Comment 37 James Le Cuirot gentoo-dev 2018-01-03 22:18:59 UTC
7.2 was dropped so closing this now.