diff options
| author | Mobile Stream <info@mobile-stream.com> | 2018-08-10 16:46:25 +0300 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-14 13:47:08 +0000 |
| commit | 5b935f075f81ed9b37130bffb4155a002d4d0358 (patch) | |
| tree | 146bd50840194b99b0f443bb51b75fd6f5a9a603 /testing/php7-igbinary | |
| parent | ce3acaf63096bf52f7f772a94f8abf6d1d0771c6 (diff) | |
| download | aports-5b935f075f81ed9b37130bffb4155a002d4d0358.tar.bz2 aports-5b935f075f81ed9b37130bffb4155a002d4d0358.tar.xz | |
main/tar: avoid using broken code in cross build
The tar cross-compile logic fails to detect no-clobber properties of gettimeofday and tzset functions and replaces them and some dependent calls with the code from the bundled GNU portability library (tar-130/gnu/).
This includes the apparently broken rpl_gmtime/rpl_localtime code from tar-130/gnu/localtime-buffer.c which on armhf ends up as:
0004578c <rpl_gmtime>:
4578c: e92d4010 push {r4, lr}
45790: ebfffffd bl 4578c <rpl_gmtime>
45794: e59f3018 ldr r3, [pc, #24] ; 457b4 <rpl_gmtime+0x28>
45798: e59f2018 ldr r2, [pc, #24] ; 457b8 <rpl_gmtime+0x2c>
4579c: e08f3003 add r3, pc, r3
457a0: e5931000 ldr r1, [r3]
457a4: e08f2002 add r2, pc, r2
457a8: e1510002 cmp r1, r2
457ac: 05830000 streq r0, [r3]
457b0: e8bd8010 pop {r4, pc}
457b4: 0002ff1c .word 0x0002ff1c
457b8: 00030858 .word 0x00030858
The proper fix should be in gnulib (i.e. recognize musl libc as done with glibc) however the APKBUILD change is simpler and easier to remove when/if upstream fixes the problem.
Diffstat (limited to 'testing/php7-igbinary')
0 files changed, 0 insertions, 0 deletions
