Name clashes - was: Re: [RFR]: 8186723: Add SuperH as new architecture for linux

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Aug 30 14:43:14 UTC 2017


On 08/30/2017 03:39 PM, Magnus Ihse Bursie wrote:
> The platform defines for hotspot does not seem very thought through.
> As you discovered, the "raw -D" defines are short and likely to clash.
> In some cases, they overlap with definitions provided by the toolchain/OS includes.

Yep.

> I'm happy to help in cleaning this mess up. :)
Do you have any suggestion what to do? What about removing the lower-case
definitions from CFLAGS completely? I could whip up a patch and test it
on all platforms I have access to which is basically everything but AIX
(and Windows where I really don't to start building OpenJDK on at the
moment).

Adrian

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the hotspot-dev mailing list