flathub / net.pcsx2.PCSX2

https://flathub.org/apps/details/net.pcsx2.PCSX2
12 stars 11 forks source link

libao fails to build against 18.08 #8

Closed TingPing closed 6 years ago

TingPing commented 6 years ago
cc -shared -O2 -g -fstack-protector-strong -nostdlib -nostartfiles -Wall -I. -fPIC -Wl,--version-script=libaio.map -Wl,-soname=libaio.so.1 -o libaio.so.1.0.1 io_queue_init.os io_queue_release.os io_queue_wait.os io_queue_run.os io_getevents.os io_submit.os io_cancel.os io_setup.os io_destroy.os raw_syscall.os compat-0_1.os  -L/app/lib -fstack-protector-strong -Wl,-z,relro,-z,now
/usr/lib/gcc/i586-unknown-linux-gnu/8.2.0/../../../../i586-unknown-linux-gnu/bin/ld: io_queue_run.os: in function `io_queue_run':
/run/build/libaio/src/io_queue_run.c:39: undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i586-unknown-linux-gnu/8.2.0/../../../../i586-unknown-linux-gnu/bin/ld: io_getevents.os: in function `__io_getevents_0_4':
/run/build/libaio/src/io_getevents.c:25: undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i586-unknown-linux-gnu/8.2.0/../../../../i586-unknown-linux-gnu/bin/ld: compat-0_1.os: in function `compat0_1_io_cancel':
/run/build/libaio/src/compat-0_1.c:38: undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i586-unknown-linux-gnu/8.2.0/../../../../i586-unknown-linux-gnu/bin/ld: compat-0_1.os: in function `compat0_1_io_queue_wait':
/run/build/libaio/src/compat-0_1.c:47: undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i586-unknown-linux-gnu/8.2.0/../../../../i586-unknown-linux-gnu/bin/ld: compat-0_1.os: in function `compat0_1_io_getevents':
/run/build/libaio/src/compat-0_1.c:61: undefined reference to `__stack_chk_fail_local'

Maybe Debian patches help.

TingPing commented 6 years ago

Fixed by https://github.com/flathub/net.pcsx2.PCSX2/commit/31b97ea7d8944bf3f0ab6aa5fcfce1b1a6acb5af