bug-make
[Top][All Lists]
Advanced

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

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


From: Preethi Selvaraju
Subject: make4.3/make4.2.1 - solaris 11 x86 issues
Date: Mon, 29 Jun 2020 08:56:21 +0000

Hi Team,

 

Am building openjdk8 code in Solaris 11 OS and getting some errors.

OS

#uname -a

SunOS Wengie 5.11 11.4.20.4.0 i86pc i386 i86pc

 

#gmake --version

GNU Make 4.3

Built for i386-pc-solaris2.10

Copyright (C) 1988-2020 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

·         Above gmake is installed from opencsw: https://www.opencsw.org/packages/gmake/

 

#gmake –version

GNU Make 4.2.1

Built for x86_64-pc-solaris2.11

Copyright (C) 1988-2016 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

·         Above gmake is In-built gmake with solaris 11.

 

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

Usage: gmake [options] [target] ...

Options:

  -b, -m                      Ignored for compatibility.

  -B, --always-make           Unconditionally make all targets.

  -C DIRECTORY, --directory=DIRECTORY

                              Change to DIRECTORY before doing anything.

  -d                          Print lots of debugging information.

  --debug[=FLAGS]             Print various types of debugging information.

  -e, --environment-overrides

                              Environment variables override makefiles.

  -E STRING, --eval=STRING    Evaluate STRING as a makefile statement.

  -f FILE, --file=FILE, --makefile=FILE

                              Read FILE as a makefile.

  -h, --help                  Print this message and exit.

  -i, --ignore-errors         Ignore errors from recipes.

  -I DIRECTORY, --include-dir=DIRECTORY

                              Search DIRECTORY for included makefiles.

  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.

  -k, --keep-going            Keep going when some targets can't be made.

  -l [N], --load-average[=N], --max-load[=N]

                              Don't start multiple jobs unless load is below N.

  -L, --check-symlink-times   Use the latest mtime between symlinks and target.

  -n, --just-print, --dry-run, --recon

                              Don't actually run any recipe; just print them.

  -o FILE, --old-file=FILE, --assume-old=FILE

                              Consider FILE to be very old and don't remake it.

  -O[TYPE], --output-sync[=TYPE]

                              Synchronize output of parallel jobs by TYPE.

  -p, --print-data-base       Print make's internal database.

  -q, --question              Run no recipe; exit status says if up to date.

  -r, --no-builtin-rules      Disable the built-in implicit rules.

  -R, --no-builtin-variables  Disable the built-in variable settings.

  -s, --silent, --quiet       Don't echo recipes.

  --no-silent                 Echo recipes (disable --silent mode).

  -S, --no-keep-going, --stop

                              Turns off -k.

  -t, --touch                 Touch targets instead of remaking them.

  --trace                     Print tracing information.

  -v, --version               Print the version number of make and exit.

  -w, --print-directory       Print the current directory.

  --no-print-directory        Turn off -w, even if it was turned on implicitly.

  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE

                              Consider FILE to be infinitely new.

  --warn-undefined-variables  Warn when an undefined variable is referenced.

 

This program built for i386-pc-solaris2.10

Report bugs to <bug-make@gnu.org>

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

gmake[4]: *** [/export/home/preethi/openjdk8/hotspot/make/solaris/Makefile:225: product] Error 2

gmake[3]: *** [Makefile:217: generic_build2] Error 2

gmake[2]: *** [Makefile:167: product] Error 2

gmake[1]: *** [HotspotWrapper.gmk:45: /export/home/preethi/openjdk8/build/solaris-x86-normal-server-release/hotspot/_hotspot.timestamp] Error 2

gmake: *** [/export/home/preethi/openjdk8//make/Main.gmk:109: hotspot-only] Error 2

 

config.h:

#define PACKAGE_NAME "OpenJDK"

#define PACKAGE_TARNAME "openjdk"

#define PACKAGE_VERSION "jdk8"

#define PACKAGE_STRING "OpenJDK jdk8"

#define PACKAGE_BUGREPORT "build-dev@openjdk.java.net"

#define PACKAGE_URL "http://openjdk.java.net"

#define STDC_HEADERS 1

#define HAVE_SYS_TYPES_H 1

#define HAVE_SYS_STAT_H 1

#define HAVE_STDLIB_H 1

#define HAVE_STRING_H 1

#define HAVE_MEMORY_H 1

#define HAVE_STRINGS_H 1

#define HAVE_INTTYPES_H 1

#define HAVE_STDINT_H 1

#define HAVE_UNISTD_H 1

#define SIZEOF_INT_P 4

#define HAVE_CUPS_CUPS_H

#define HAVE_CUPS_PPD_H

#define HAVE_LIBJPEG

#define HAVE_LIBGIF

#define HAVE_LIBZ

#define HAVE_LIBM 1

#define HAVE_ALTZONE 1

 

When I use gmake version 3.81 in soalris 10, I haven’t faced this issue. I’ve tried with two versions of gmake[4.3 & 4.2.1]  in Solaris 11 and encounters the same error as shown above.

Please shed some light on this.

 

Regards,

Preethi

 

::DISCLAIMER::

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.


reply via email to

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