Page MenuHomeFreeBSD

java/openjdk23: Mark port broken on i386 for FreeBSD 14 and 15
ClosedPublic

Authored by haraldei_anduin.net on Mon, Dec 30, 4:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 31, 4:48 PM
Unknown Object (File)
Mon, Dec 30, 9:15 PM
Unknown Object (File)
Mon, Dec 30, 6:12 PM
Unknown Object (File)
Mon, Dec 30, 6:12 PM
Subscribers
None

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

haraldei_anduin.net created this revision.
java/openjdk23/Makefile
15

I think we should mention a short snippet from the error messages which helps others to solve the problem as they might have already faced and might have a solution. In our case we might say the message like:

bash: line 1: 29793 Segmentation fault

Also maybe with a bigger comment on top like what is happening.

Ah sorry I am not sure why the wrong line was copied. It should be:

Build failed for target 'images' in configuration 'bsd-x86-server-release'`

Update patch based on feedback.

  • Drop increment of BSD_JDK_VERSION
  • Better broken-messages
  • Added comment with more info and link to log.
java/openjdk23/Makefile
19

These logs actually lasts for only 90 days. So it will vaporize in course of time. :)

Update based on feedback:

  • Remove ref to logs as they will vanish in a while.
This revision is now accepted and ready to land.Mon, Dec 30, 5:50 PM

It might help to get a look at the hs_err_pidXXXX.log file from the build to see more details about the error, but that won't affect this change. FWIW I believe that upstream have flagged that they are removing support for x86 in Java 25, so given that Java 23 isn't an LTS release (and 25 is the next LTS release) it probably isn't worth the effort to fix it.

@glewis With debug enabled I get this more useful message:

#  Internal Error (/home/haraldei/src/openjdk/src/hotspot/cpu/x86/macroAssembler_x86.cpp:4206), pid=14704, tid=109565
#  assert(is_aligned(set.size() * xmm_save_size(), StackAlignmentInBytes)) failed: must be

Have to look at it more tomorrow or next year.