RFR: 8323672: Suppress unwanted autoconf added flags in CC and CXX [v7]
Julian Waters
jwaters at openjdk.org
Mon Feb 12 14:13:05 UTC 2024
On Mon, 12 Feb 2024 13:57:55 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> I have verified that this works fine in the Oracle internal CI.
>
> Erik's point still stands:
>
> > I still think it would be prudent to verify this patch with all the currently accepted versions of autoconf (2.69, 2.70, 2.71, 2.72).
>
> I think the easiest way to achieve this is to checkout the autoconf at these versions, and build it yourself. Iirc it was quite easy to build autoconf (anything else would be a shame and very bad PR for the project! :-o).
>
> I'm hoping you are willing to do this, since I believe this is a superior solution and I'd like to see it in mainline. (Otherwise, let me know and I'll try to squeeze in doing it.)
It's actually even easier to do on Windows than it might appear, since MinGW's pacman system has caches that contain past package versions. I wouldn't have to build it at all in fact, all I'd have to do is downgrade my autoconf to past versions (I think I'm currently on 2.71). I know you're probably very busy right now, so I'll spare you the chore of having to do that by testing it on my end. That said, should I test autoconf on all platforms too? That aside, I'm still a little unhappy that there is no formal way to unregister an AC_DEFUN macro though :(
By the way, I've left you something in the mail. Hope you have some time to check it out!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17401#issuecomment-1938751180
More information about the build-dev
mailing list