Oh, it's passed alright, but no command flag is passed. The attached patch (which is currently in master and will therefore be part of the next pre-release) fixes it. Cheers, Richard In message <793d23fd-5c34-880a-c8da-d5ea66061fd1@xxxxxxxxxxxxxxxxxx> on Fri, 23 Feb 2018 14:31:49 -0800, Norm Green <norm.green@xxxxxxxxxxxxxxxxxx> said: norm.green> Looks like no target .a file is passed to ar ? norm.green> norm.green> Note: OpenSSL 1.1.0 succeeds on this platform. norm.green> norm.green> norm.green> /export/localnew/RISC6000.AIX/perl-5.24.0/bin/perl -i -pe 's/^.*\|//; norm.green> s/ \/(\\.|[^ ])*//; $_ = undef if (/: *$/ || /^(#.*| *)$/); $_.="\n" norm.green> unless !defined($_) or /\R$/g;' apps/s_socket.d.tmp norm.green> ar -X 64 apps/libapps.a apps/app_rand.o apps/apps.o apps/bf_prefix.o norm.green> apps/opt.o apps/s_cb.o apps/s_socket.o norm.green> ar: 0707-101 / is not a valid flag. norm.green> make: The error code from the last command is 1. norm.green> norm.green> norm.green> Stop. norm.green> make: The error code from the last command is 2. norm.green> norm.green>
commit 6475b64978083750018db90c60f4df142aa2e28f Author: Richard Levitte <levitte@xxxxxxxxxxx> Date: Thu Feb 15 22:38:24 2018 +0100 AIX: make sure that the arflags value includes the command letter (r) In previous OpenSSL versions, this letter was part of the make variable AR. However, following the usual convention (read: GNU), this letter is supposed to be part of ARFLAGS. Reviewed-by: Rich Salz <rsalz@xxxxxxxxxxx> (Merged from https://github.com/openssl/openssl/pull/5386) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 95097ca94b..3ee071765d 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1232,7 +1232,7 @@ my %targets = ( shared_target => "aix-shared", shared_ldflag => "-shared -static-libgcc -Wl,-G", shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)", - arflags => "-X32", + arflags => "-X32 r", }, "aix64-gcc" => { inherit_from => [ "BASE_unix", asm("ppc64_asm") ], @@ -1251,7 +1251,7 @@ my %targets = ( shared_target => "aix-shared", shared_ldflag => "-shared -static-libgcc -Wl,-G", shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)", - arflags => "-X64", + arflags => "-X64 r", }, "aix-cc" => { inherit_from => [ "BASE_unix", asm("ppc32_asm") ], @@ -1270,7 +1270,7 @@ my %targets = ( shared_target => "aix-shared", shared_ldflag => "-G", shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)", - arflags => "-X 32", + arflags => "-X32 r", }, "aix64-cc" => { inherit_from => [ "BASE_unix", asm("ppc64_asm") ], @@ -1289,7 +1289,7 @@ my %targets = ( shared_target => "aix-shared", shared_ldflag => "-G", shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)", - arflags => "-X 64", + arflags => "-X64 r", }, # SIEMENS BS2000/OSD: an EBCDIC-based mainframe diff --git a/Configurations/README b/Configurations/README index 26cd0c6e44..8d32a254a2 100644 --- a/Configurations/README +++ b/Configurations/README @@ -95,7 +95,8 @@ In each table entry, the following keys are significant: (NOTE: this is here for future use, it's not implemented yet) arflags => Flags to be used with the library archive - command. + command. On Unix, this includes the + command letter, 'r' by default. ranlib => The library archive indexing command, the default is 'ranlib' it it exists.
-- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users