New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gcj: use from gcc6 #29758
gcj: use from gcc6 #29758
Conversation
Thanks! |
@fpletz uhm, Linux failed to build GCJ, though :/ |
|
Aand, upstream gcc7 completely removed support for Java, so whatever solution we produce, it won't last too long... |
Well, if we still have some remainders of GCC4, that means a GCC6 solution could survive a few years… Maybe by that time there will be a real replacement for |
Yes, and gcc5 can also survive years, especially if we need it for something. I don't follow Java, but I suppose free unix* has been moving towards openjdk and related compilers... |
Most of the Java-based stuff uses OpenJDK, that's for sure — pdftk is just a rare case that was GCJ-only all its life, with no support for any kind of usual JDK. |
Yeah, this is not the most useful pull request, but if we could get GCJ building with GCC6 it could survive a bit longer. I also wrote down a couple of notes about pdftk here: #29715 |
Well, on Hydra we won't have yet binaries for gcj on darwin, as the jobs get killed after producing 64 MB of log output. |
@7c6f434c FYI regarding a replacement for pdftk, I found https://github.com/hellerbarde/stapler and might package it after testing it for a while. |
@schmittlauch thanks, ineteresting — I can only hope background and stamp will work at some point… |
Motivation for this change
GCC 4.9 (and subsequently GCJ) fails to build on Darwin. I tried to upgrade this to get reverse dependencies to succeed (but it turned out not to be that simple).
Anyhow, this allows GCJ to build on Darwin, but before merging, I'd wait to see the outcome of the CI when building pdftk on Linux
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)