Re: strange error when running jtreg tests

2016-08-23 Thread Tiago Daitx
Gustavo brought this issue to my attention (thanks!) The cause is that Debian/Ubuntu have been setting -Wl,--as-needed for a long while [1], thus libraries must appear *after* objects referring to the library. Also, make does state that libraries shouldn't be added to LDFLAGS [2]. Regards, Tiago

Re: [OpenJDK 2D-Dev] [REGRESSION?] Build warnings at jdhuff.c with GCC 6

2016-08-23 Thread Phil Race
On 08/23/2016 08:47 AM, Erik Joelsson wrote: > Hello, > > I do agree that maintaining the list of disabled warnings will be > impossible unless we have a structured way of tracking for which > compiler versions we disable what. Ideally we should be able to easily > add conditions for when certain w

Re: [OpenJDK 2D-Dev] [REGRESSION?] Build warnings at jdhuff.c with GCC 6

2016-08-23 Thread Erik Joelsson
Hello, I do agree that maintaining the list of disabled warnings will be impossible unless we have a structured way of tracking for which compiler versions we disable what. Ideally we should be able to easily add conditions for when certain warnings should be disabled. We are unfortunatel

Re: [OpenJDK 2D-Dev] [REGRESSION?] Build warnings at jdhuff.c with GCC 6

2016-08-23 Thread Philip Race
Erik .. please chime in if you disagree with the following The goal here is to have no warnings with the *official* compilers. If you are using something else and get warnings then either fix the *source* or else you need to use --disable-warning-as-errors. Otherwise we'll be suppressing the warni

[REGRESSION?] Build warnings at jdhuff.c with GCC 6

2016-08-23 Thread Yasumasa Suenaga
Hi all, I've fixed several warnings when we build OpenJDK with GCC 6 in JDK-8160294. However, I encountered shift-negative-value warnings at jdhuff.c on my Fedora 24 (GCC 6.1.1): -- /home/ysuenaga/OpenJDK/hs/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:458:13: warning: lef

Re: RFR: JDK-8160354: uninitialized value warning and VM crash are occurred with GCC 6

2016-08-23 Thread Yasumasa Suenaga
Hi Kim, and all, Sorry for my late reply. I've fixed them in new webrev. Could you review it? http://cr.openjdk.java.net/~ysuenaga/JDK-8160354/webrev.01/ Also I need a sponsor. Thanks, Yasumasa On 2016/06/28 12:43, Yasumasa Suenaga wrote: Hi Kim, On 2016/06/28 7:12, Kim Barrett wrote: