Skip to content

Issues compiling for 3v4l #101

Closed
Closed
@SjonHortensius

Description

@SjonHortensius

Description

Hi, I'm attempting to compile this branch for inclusion on 3v4l but I'm running into issues. It seems as if this isn't directly caused by any of your commits but I'm not entirely sure.

I checked out https://github.com/iluuu1994/php-src/tree/property-hooks and while building I get:

/bin/bash /root/root/php-src-property-hooks/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/mbstring/ -I/root/root/php-src-property-hooks/ext/mbstring/ -I/root/root/php-src-property-hooks/include -I/root/
root/php-src-property-hooks/main -I/root/root/php-src-property-hooks -I/root/root/php-src-property-hooks/ext/date/lib -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/root/root/php-src-property-hooks/ext/mbstring/libm
bfl -I/root/root/php-src-property-hooks/ext/mbstring/libmbfl/mbfl -I/root/root/php-src-property-hooks/TSRM -I/root/root/php-src-property-hooks/Zend  -D_GNU_SOURCE  -fno-common -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wal
l -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS    -DONIG_ESCAPE_UCHAR_COLLISION=1 -DUChar=OnigUChar -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/root/php-src-property-hooks/ext/mbst
ring/mbstring.c -o ext/mbstring/mbstring.lo  -MMD -MF ext/mbstring/mbstring.dep -MT ext/mbstring/mbstring.lo
/root/root/php-src-property-hooks/ext/mbstring/mbstring.c: In function ‘mb_fast_check_utf8_avx2’:
/root/root/php-src-property-hooks/ext/mbstring/mbstring.c:5179:14: warning: implicit declaration of function ‘_mm256_set_m128i’ [-Wimplicit-function-declaration]
    operand = _mm256_set_m128i(_mm_setzero_si128(), _mm_srli_si128(_mm_loadu_si128((__m128i*)(p - 10)), 10));
              ^~~~~~~~~~~~~~~~
/root/root/php-src-property-hooks/ext/mbstring/mbstring.c:5179:12: error: incompatible types when assigning to type ‘__m256i {aka __vector(4) long long int}’ from type ‘int’
    operand = _mm256_set_m128i(_mm_setzero_si128(), _mm_srli_si128(_mm_loadu_si128((__m128i*)(p - 10)), 10));
            ^

...

is this caused by your PR having more commits than the branch ? Please advise :)

PHP Version

master

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions