phpstatic.com

Results 12 comments of phpstatic.com

The process is a bit complex, I will try explain here: 1) patch the source code to remove all dynamic library code. 2) use a compile wrapper script like `ccache`...

Thanks for the quick response. On my test it work on old kernel, but I am not able to test them all and every corner case, so I confirm this...

some how I try rebuild fresh again, not get stop error.

First time I try with `ssp` configure throw error and stop, I try cope the code from config.log and test it, then get that Segmentation. After I clear every thing...

>> are you saying that the crashing program is a test that one of the configure scripts is running during build? Can you show which one it is? It is...

and one more question , the musl-cross-make generate static pie binary for me ```sh checksec -f sapi/cli/php RELRO STACK CANARY NX PIE RPATH RUNPATH Symbols FORTIFY Fortified Fortifiable FILE Full...

I adjust it to this and rebuild, hope every things work. ```mk COMMON_CONFIG += --disable-nls --disable-lto GCC_CONFIG += --disable-libquadmath --disable-decimal-float --disable-libitm --disable-fixed-point GCC_CONFIG += --disable-multilib GCC_CONFIG += --disable-shared GCC_CONFIG +=...

The build stop at step `obj_gcc/x86_64-linux-musl/libgomp`, because `x86_64-linux-musl/obj_binutils/ld/ld-new: cannot find -lssp_nonshared` I need remove `-fstack-protector-strong` from GCC_CONFIG_FOR_TARGET and MUSL_CONFIG

> Can you reproduce the problem with a minimal set of weird/nondefault config? I will do it tomorrow, I guess add `-fstack-protector` to `GCC_CONFIG_FOR_TARGET` or `MUSL_CONFIG` will create the problem....

I confirm `CFLAGS_FOR_TARGET` not work with `stack-protector`, MUSL work with it.