Skip to content

8.4.14 does not compile: conftest.c:89:36: error: expected expression before ')' token #20401

@epudwjuhc

Description

@epudwjuhc

Description

suggestions?

configured as:

./configure --prefix=/usr/local/php-8.4.14 --with-apxs2=/usr/local/apache/bin/apxs --without-snmp --disable-ipv6 --enable-sigchild --with-pear --with-mysql-sock=/var/run/mysql/mysql.sock --enable-calendar --with-zlib --enable-mbstring --with-pdo-mysql --with-mysqli --disable-mbregex --with-openssl=/usr/local/--with-sqlite3 --enable-shmop --enable-sysvshm --with-pdo-sqlite --enable-gd --with-mm=/usr/local/mm/ OPENSSL_CFLAGS=-I/usr/local/include 'OPENSSL_LIBS=-L/usr/local/lib -lssl -lcrypto' --with-openssl-argon2 --enable-static=NO --with-curl=/usr/local/

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc15/lib/gcc/x86_64-pc-linux-gnu/15.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --host=x86_64-pc-linux-gnu --enable-languages=c,c++ --prefix=/usr/local/gcc15 --disable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 15.2.0 (GCC)

export CFLAGS="-I/usr/local/gcc15/include/c++/15.2.0/ -O1 -msse4.1 -maes -mpclmul -march=native "


output:

configure:14551: checking for tmmintrin.h
configure:14551: cc -std=gnu11 -c -I/usr/local/gcc15/include/c++/15.2.0/ -O1 -msse4.1 -maes -mpclmul -march=native -ffp-contract=off -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
configure:14551: $? = 0
configure:14551: result: yes
configure:14573: checking for nmmintrin.h
configure:14573: cc -std=gnu11 -c -I/usr/local/gcc15/include/c++/15.2.0/ -O1 -msse4.1 -maes -mpclmul -march=native -ffp-contract=off -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
configure:14573: $? = 0
configure:14573: result: yes
configure:14595: checking for wmmintrin.h
configure:14595: cc -std=gnu11 -c -I/usr/local/gcc15/include/c++/15.2.0/ -O1 -msse4.1 -maes -mpclmul -march=native -ffp-contract=off -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
configure:14595: $? = 0
configure:14595: result: yes
configure:14617: checking for immintrin.h
configure:14617: cc -std=gnu11 -c -I/usr/local/gcc15/include/c++/15.2.0/ -O1 -msse4.1 -maes -mpclmul -march=native -ffp-contract=off -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
configure:14617: $? = 0
configure:14617: result: yes
configure:14641: checking for cookie_io_functions_t
configure:14641: cc -std=gnu11 -c -I/usr/local/gcc15/include/c++/15.2.0/ -O1 -msse4.1 -maes -mpclmul -march=native -ffp-contract=off -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
configure:14641: $? = 0
configure:14641: cc -std=gnu11 -c -I/usr/local/gcc15/include/c++/15.2.0/ -O1 -msse4.1 -maes -mpclmul -march=native -ffp-contract=off -fvisibility=hidden -D_GNU_SOURCE conftest.c >&5
conftest.c: In function 'main':
conftest.c:89:36: error: expected expression before ')' token
configure:14641: $? = 1
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.4.14"
| #define PACKAGE_STRING "PHP 8.4.14"
| #define PACKAGE_BUGREPORT "https://github.com/php/php-src/issues"
| #define PACKAGE_URL "https://www.php.net"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
.....cut......
| #define HAVE_WMMINTRIN_H 1
| #define HAVE_IMMINTRIN_H 1
| /
end confdefs.h. */
| #include <stdio.h>
|
| int
| main (void)
| {
| if (sizeof ((cookie_io_functions_t)))
| return 0;
| ;
| return 0;
| }
configure:14641: result: yes

PHP Version

php-8.4.14 from tarball

Operating System

Suse Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions