Make fails with ./Configure solaris-x86-cc such as : cc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_PIC -DOPENSSLDIR=/opt/openssl/ssl -DENGINESDIR=/opt/openssl/lib/engines -KPIC -D_REENTRANT -xarch=generic -xstrconst -Xa -DL_ENDIAN -DFILIO_H -xO5 -xregs=frameptr -xdepend -xbuiltin -G -dy -z text -h libcrypto.so.1.1 -Wl,-Bsymbolic -o ./libcrypto.so.1.1 -z allextract,-M,crypto.map ./libcrypto.a -z defaultextract -lsocket -lnsl -ldl ld: fatal: option -z has illegal argument 'allextract,-M,crypto.map' ld: fatal: flags processing errors
./Configure solaris64-x86_64-cc fails with the same error. Tested on Solaris10 x86/64 cc: solarisstudio12.4 cc ld: /usr/ccs/bin/ld Before get here, you need #4314 fix & patch as follows, because "add_before" in 10-main.conf does not set cflags correctly. (See #4319) diff -cr ../openssl-1.1.0-pre3.orig/Configurations/10-main.conf ./Configurations/10-main.conf *** ../openssl-1.1.0-pre3.orig/Configurations/10-main.conf 2016-02-16 03:08:07.000000000 +0900 --- ./Configurations/10-main.conf 2016-02-20 15:13:44.634129625 +0900 *************** *** 35,44 **** shared_extension => ".so", }, ! #### Solaros configirations "solaris-common" => { template => 1, - cflags => "-DFILIO_H", ex_libs => "-lsocket -lnsl -ldl", dso_scheme => "dlfcn", shared_target => "solaris-shared", --- 35,43 ---- shared_extension => ".so", }, ! #### Solaris configurations "solaris-common" => { template => 1, ex_libs => "-lsocket -lnsl -ldl", dso_scheme => "dlfcn", shared_target => "solaris-shared", *************** *** 53,59 **** # with "Illegal mnemonic" error message. inherit_from => [ "solaris-common", asm("x86_elf_asm") ], cc => "gcc", ! cflags => add_before("-march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM"), debug_cflags => "-O0 -g", release_cflags => "-O3 -fomit-frame-pointer", thread_cflag => "-pthread", --- 52,58 ---- # with "Illegal mnemonic" error message. inherit_from => [ "solaris-common", asm("x86_elf_asm") ], cc => "gcc", ! cflags => "-march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM -DFILIO_H", debug_cflags => "-O0 -g", release_cflags => "-O3 -fomit-frame-pointer", thread_cflag => "-pthread", *************** *** 72,78 **** # <ap...@fy.chalmers.se> inherit_from => [ "solaris-common", asm("x86_64_asm") ], cc => "gcc", ! cflags => add_before("-m64 -Wall -DL_ENDIAN"), debug_cflags => "-O0 -g", release_cflags => "-O3", thread_cflag => "-pthread", --- 71,77 ---- # <ap...@fy.chalmers.se> inherit_from => [ "solaris-common", asm("x86_64_asm") ], cc => "gcc", ! cflags => "-m64 -Wall -DL_ENDIAN -DFILIO_H", debug_cflags => "-O0 -g", release_cflags => "-O3", thread_cflag => "-pthread", *************** *** 87,93 **** "solaris-x86-cc" => { inherit_from => [ "solaris-common" ], cc => "cc", ! cflags => add_before("-xarch=generic -xstrconst -Xa -DL_ENDIAN"), debug_cflags => "-g", release_cflags => "-xO5 -xregs=frameptr -xdepend -xbuiltin", thread_cflag => "-D_REENTRANT", --- 86,92 ---- "solaris-x86-cc" => { inherit_from => [ "solaris-common" ], cc => "cc", ! cflags => "-xarch=generic -xstrconst -Xa -DL_ENDIAN -DFILIO_H", debug_cflags => "-g", release_cflags => "-xO5 -xregs=frameptr -xdepend -xbuiltin", thread_cflag => "-D_REENTRANT", *************** *** 100,106 **** "solaris64-x86_64-cc" => { inherit_from => [ "solaris-common", asm("x86_64_asm") ], cc => "cc", ! cflags => add_before("-xarch=generic64 -xstrconst -Xa -DL_ENDIAN"), debug_cflags => "-g", release_cflags => "-xO5 -xdepend -xbuiltin", thread_cflag => "-D_REENTRANT", --- 99,105 ---- "solaris64-x86_64-cc" => { inherit_from => [ "solaris-common", asm("x86_64_asm") ], cc => "cc", ! cflags => "-m64 -xstrconst -Xa -DL_ENDIAN -DFILIO_H", debug_cflags => "-g", release_cflags => "-xO5 -xdepend -xbuiltin", thread_cflag => "-D_REENTRANT", *************** *** 109,115 **** bn_ops => "SIXTY_FOUR_BIT_LONG", perlasm_scheme => "elf", shared_cflag => "-KPIC", ! shared_ldflag => "-xarch=generic64 -G -dy -z text", multilib => "/64", }, --- 108,114 ---- bn_ops => "SIXTY_FOUR_BIT_LONG", perlasm_scheme => "elf", shared_cflag => "-KPIC", ! shared_ldflag => "-m64 -G -dy -z text", multilib => "/64", }, Best regards, --- Kiyoshi <yoi_no_myou...@yahoo.co.jp> -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4324 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev