strange error when running jtreg tests
Erik Joelsson
erik.joelsson at oracle.com
Thu Aug 18 08:14:06 UTC 2016
On 2016-08-18 00:14, Andrew Hughes wrote:
>
> This seems to be a problem that keeps reoccurring in the OpenJDK
> build on Debian/Ubuntu systems over several years e.g.
>
> http://icedtea.classpath.org/hg/icedtea6/raw-file/tip/patches/linker-libs-order.patch (OpenJDK 6)
> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1413 (OpenJDK 8)
>
> I guess they have a default linker configuration which strictly
> wants the libraries at the end of the command. Having them in
> a LDFLAGS variable rather than LIBS is something we should try and
> flag earlier, so we don't get build breakage again on these
> systems.
Indeed, and we created the LIBS flag for this very reason. This case
just fell through the cracks. There was no need for LIBS at the time the
JtregNative compilation was first introduced so the implementor likely
forgot about it. The exeinvoke test is pretty new. I missed this when
reviewing that change.
/Erik
More information about the build-dev
mailing list