bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make4.3/make4.2.1 - solaris 11 x86 issues


From: Martin Dorey
Subject: Re: make4.3/make4.2.1 - solaris 11 x86 issues
Date: Mon, 29 Jun 2020 14:17:14 +0000

Looks a likely match for:

http://mail.openjdk.java.net/pipermail/build-dev/2014-November/013597.html

Fixed in jdk8u in 2014.  Surely our OP is using that already... but he does say jdk8 rather than jdk8u, so maybe not.


From: Bug-make <bug-make-bounces+martin.dorey=hds.com@gnu.org> on behalf of Paul Smith <psmith@gnu.org>
Sent: Monday, June 29, 2020 06:12
To: Preethi Selvaraju; bug-make@gnu.org
Subject: Re: make4.3/make4.2.1 - solaris 11 x86 issues
 
***** EXTERNAL EMAIL *****

On Mon, 2020-06-29 at 08:56 +0000, Preethi Selvaraju wrote:
> Error:
> /usr/bin/gmake: invalid option -- 8
> /usr/bin/gmake: invalid option -- /
> /usr/bin/gmake: invalid option -- a
> /usr/bin/gmake: invalid option -- /
> /usr/bin/gmake: invalid option -- c

This are just the error messages.  They mean that the options provided
to make are illegal, in some way.  We can't do anything to help unless
you show us the make command line that was invoked so we can see what
it says.

Also useful would be the actual recipe from the makefile; the failure
was found here:

> gmake[5]: *** [/export/home/preethi/openjdk8/hotspot/make/solaris/makefiles/top.make:84: ad_stuff] Error 2

So the recipe to build the ad_stuff target in the top.make file at line
84 would be helpful.

Well, I can see that these makefiles follow the anti-pattern of adding
"@" prefixes to recipe lines:

https://nam04.safelinks.protection.outlook.com/?url="">

If you remove the "@" before the "$(MAKE)" then it will print the
command line.  It appears that running the "adjust-mflags" script is
giving bogus results.

Using MFLAGS like this is generally a bad idea and I have no idea what
they mean by "Wierd argument adjustment for "gnumake -j..."".  It feels
like a hack.

But my suspicion is that this behavior difference is related to this
change in GNU make 4.0:

* Behavior of MAKEFLAGS and MFLAGS is more rigorously defined.  All simple
  flags are grouped together in the first word of MAKEFLAGS.  No options that
  accept arguments appear in the first word.  If no simple flags are present
  MAKEFLAGS begins with a space.  Flags with both short and long versions
  always use the short versions in MAKEFLAGS.  Flags are listed in
  alphabetical order using ASCII ordering.  MFLAGS never begins with "- ".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]