Opened 3 years ago

#12699 new Bug report

libfilezilla: undefined reference to __atomic_exchange_1 in the RISC-V platform

Reported by: Yixun Lan Owned by:
Priority: normal Component: libfilezilla
Keywords: Cc:
Component version: Operating system type: Linux
Operating system version: Gentoo Linux

Description

downstream report can be found here: https://bugs.gentoo.org/837740

libtool: link: riscv64-unknown-linux-gnu-g++ -std=c++17 -O2 -pipe -mabi=lp64d -Wall -g -Wl,-O1 -Wl,--as-needed -o timer_fizzbuzz timer_fizzbuzz-timer_fizzbuzz.o ../lib/.libs/libfilezilla.so -lpthread -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/libfilezilla-0.36.0/work/libfilezilla-0.36.0/lib/.libs
/usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.1/../../../../riscv64-unknown-linux-gnu/bin/ld: ../lib/.libs/libfilezilla.so: undefined reference to `atomic_exchange_1'
collect2: error: ld returned 1 exit status
make[1]: * [Makefile:496: process] Error 1
make[1]:
* Waiting for unfinished jobs....
/usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.1/../../../../riscv64-unknown-linux-gnu/bin/ld: ../lib/.libs/libfilezilla.so: undefined reference to `
atomic_exchange_1'
/usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.1/../../../../riscv64-unknown-linux-gnu/bin/ld: ../lib/.libs/libfilezilla.so: undefined reference to `atomic_exchange_1'
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit statu

Attachments (1)

0001-use-pthread-to-fix-the-missing-atomic-issue.patch (1.1 KB ) - added by Yixun Lan 3 years ago.
0001-use-pthread-to-fix-the-missing-atomic-issue.patch

Download all attachments as: .zip

Change History (1)

by Yixun Lan, 3 years ago

0001-use-pthread-to-fix-the-missing-atomic-issue.patch

Note: See TracTickets for help on using tickets.