Bug #78178 [Fbk->NoF]: AIX specific cases missing in configure

From: Date: Sun, 07 Nov 2021 04:22:08 +0000
Subject: Bug #78178 [Fbk->NoF]: AIX specific cases missing in configure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237589@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78178&edit=1 ID: 78178 Updated by: php-bugs@lists.php.net Reported by: reskumar at in dot ibm dot com Summary: AIX specific cases missing in configure -Status: Feedback +Status: No Feedback Type: Bug Package: Compile Failure Operating System: AIX PHP Version: 7.2.20RC1 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-10-27 11:40:38] cmb@php.net Is this still an issue with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2019-07-29 05:31:55] reskumar at in dot ibm dot com The requested outputs are as follows $ ls modules soap.a soap.la $ ls ext/soap CREDITS config.m4 package.xml php_encoding.lo php_http.lo php_packet_soap.lo php_schema.lo php_sdl.lo php_xml.h soap.la TODO config.w32 php_encoding.c php_http.c php_packet_soap.c php_schema.c php_sdl.c php_soap.h php_xml.lo soap.lo TODO.old interop php_encoding.h php_http.h php_packet_soap.h php_schema.h php_sdl.h php_xml.c soap.c tests $ ls ext/soap/.libs php_encoding.o php_http.o php_packet_soap.o php_schema.o php_sdl.o php_xml.o soap.a soap.exp soap.la soap.lai soap.o soap.so ------------------------------------------------------------------------ [2019-06-21 20:27:00] peterkokot at gmail dot com Looks like the -rpath is not present on these AIX systems: https://stackoverflow.com/questions/1539036/aix-5-3-ld-xlc-equivalent-option-linux-ld-gcc-rpath or something else is wrong here and some files don't get copyied to the proper places. So basically the removal of this: && mv -f '$3'/.libs/$1.so '$3'/$1.so and the copying of the shared objects or libtool's *.la files differ between this AIX system and the one described in the bug #77676 Can you please do the following: 1. git clone git://github.com/php/php-src --depth 1 --branch PHP-7.2 2. cd php-src 3. ./buildconf 4. ./configure --disable-all --enable-libxml --enable-soap=shared 5. make -j4 6. ls modules 7. ls ext/soap 8. ls ext/soap/.libs and paste the output of the step 6, 7, and 8 here. Also if you have the AIX version here, that would be great. Thank you. ------------------------------------------------------------------------ [2019-06-20 08:43:25] reskumar at in dot ibm dot com --- php-7.2.16/configure 2019-06-10 04:48:59 +0000 +++ php-7.2.18/configure 2019-06-18 04:41:18 +0000 @@ -76768,15 +76580,11 @@ install_modules="install-modules" + suffix=la case $host_alias in *aix*) - suffix=so - link_cmd='$(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -Wl,-G -o '$ext_builddir'/soap.la -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $(shared_objects_soap) $(SOAP_SHARED_LIBADD) && mv -f '$ext_builddir'/.libs/soap.so '$ext_builddir'/soap.so' - ;; - *) - suffix=la - link_cmd='$(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA _LDFLAGS) $(shared_objects_soap) $(SOAP_SHARED_LIBADD)' + additional_flags="-Wl,-G" ;; esac @@ -76793,7 +76601,7 @@ \$(LIBTOOL) --mode=install cp $ext_builddir/soap.$suffix \$(phplibdir) $ext_builddir/soap.$suffix: \$(shared_objects_soap) \$(SOAP_SHARED_DEPENDENCIES) - $link_cmd + \$(LIBTOOL) --mode=link \$(CC) \$(COMMON_FLAGS) \$(CFLAGS_CLEAN) \$(EXTRA_CFLAGS) \$(LDFLAGS) $additional_flags -o \$@ -export-dynamic -avoid-version -prefer-pic -module -rpath \$(p hplibdir) \$(EXTRA_LDFLAGS) \$(shared_objects_soap) \$(SOAP_SHARED_LIBADD) EOF Due to these changes in the configure, soap.so is not copied to $(phplibdir). As a result 'make test' is failing since it is unable to find soap.so in $(phplibdir). ------------------------------------------------------------------------ [2019-06-18 10:50:44] nikic@php.net What is the actual issue? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=78178 -- Edit this bug report at https://bugs.php.net/bug.php?id=78178&edit=1

« previous php.bugs (#237589) next »