RFR(S): 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775 (original) (raw)
David Lindholm david.lindholm at oracle.com
Wed Oct 7 08:01:41 UTC 2015
- Previous message: RFR(S): 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
- Next message: RFR(S): 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Volker,
I created a bug for this, JDK-8139035.
Thanks, David
On 2015-10-07 09:54, Volker Simonis wrote:
Hi Goetz, David,
this change looks good. You can consider it as reviewed. I'd appreciate though if you could open a new bug for fixing the zero-length argument strings and removing "-Wno-format-zero-length". This new bug should be linked to the current big. Thank you and best regards, Volker
On Tue, Oct 6, 2015 at 11:11 AM, Lindenmaier, Goetz <goetz.lindenmaier at sap.com> wrote: Hi David,
thanks for reviewing! I also don't like that dependency, but in case -Wno-format-zero-length is removed, that can be removed, too. Best regards, Goetz.
-----Original Message----- From: hotspot-dev [mailto:hotspot-dev-bounces at openjdk.java.net] On Behalf Of David Lindholm Sent: Dienstag, 6. Oktober 2015 10:47 To: hotspot-dev at openjdk.java.net Subject: Re: RFR(S): 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775 Goetz, On 2015-10-06 09:06, Lindenmaier, Goetz wrote: Hi, could I please get a review and a sponsor for this change? http://cr.openjdk.java.net/~goetz/webrevs/8138733-warn/webrev.00/ While I don't really like the GCC-dependency in debug.hpp, I understand that it is necessary for older GCCs. Reviewed. (I'm not an JDK 9 Reviewer). Thanks, David Sorry for first posting to the wrong list. Best regards, Goetz.
-----Original Message----- From: Mikael Gerdin [mailto:mikael.gerdin at oracle.com] Sent: Freitag, 2. Oktober 2015 13:06 To: Lindenmaier, Goetz; hotspot-dev at openjdk.java.net Developers Subject: Re: RFR(S): 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775_ _Redirecting to hotspot-dev at ..._ _On 2015-10-02 12:58, Lindenmaier, Goetz wrote:_ _Hi,_ _We appreciate change 8080775 a lot, but it breaks the build with older gcc._ _They don't know the option -Wno-format-zero-length._ _To fix this, I only add -Wno-format-zero-length for gcc >= 4.8. For the other gccs, I remove ATTRIBUTEPRINTF from the declaration of reportvmerror(). This is no big deal, as correctness is guaranteed once it's compiled with gcc 4.8. I had to fix one fatal() in the ppc files, too. Please review this change. I please need a sponsor. http://cr.openjdk.java.net/~goetz/webrevs/8138733-warn/webrev.00/ Best regards, Goetz.
- Previous message: RFR(S): 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
- Next message: RFR(S): 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]