| Summary: | dev-java/openjdk-11.0.8_p10 fails to compile : operators new and delete is not allowed in Hotspot | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | jstein |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=770217 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build log xz-compressed | ||
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards. |
Created attachment 649466 [details] build log xz-compressed Compiling openjdk with gcc-9 or gcc-10 fails with if [ -n "`/usr/bin/x86_64-pc-linux-gnu-nm /var/tmp/portage/dev-java/openjdk-11.0.8_p10/work/jdk11u-jdk-11.0.8-ga/build/linux-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/abstractInterpreter_x86.o | /bin/grep -e _ZdaPv -e _ZdlPv -e _Znam -e _Znwm | /bin/grep ' U '`" ]; \ then /bin/echo "/var/tmp/portage/dev-java/openjdk-11.0.8_p10/work/jdk11u-jdk-11.0.8-ga/build/linux-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/abstractInterpreter_x86.o: \ Error: Use of global operators new and delete is not allowed in Hotspot:"; \ /usr/bin/x86_64-pc-linux-gnu-nm /var/tmp/portage/dev-java/openjdk-11.0.8_p10/work/jdk11u-jdk-11.0.8-ga/build/linux-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/abstractInterpreter_x86.o | /usr/bin/x86_64-pc-linux-gnu-c++filt | /bin/grep -E '[^:]operator (new|delete)' | /bin/grep ' U '; /bin/echo "See: /var/tmp/portage/dev-java/openjdk-11.0.8_p10/work/jdk11u-jdk-11.0.8-ga/make/hotspot/lib/CompileJvm.gmk"; exit 1; fi