Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1749 - e2fsprogs without --disable-threads needs -lpthread #6808

Closed
openwrt-bot opened this issue Aug 7, 2018 · 0 comments
Closed

FS#1749 - e2fsprogs without --disable-threads needs -lpthread #6808

openwrt-bot opened this issue Aug 7, 2018 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

dzavy:

/var/lib/jenkins/jobs/YunaPBX_Build_x86/workspace/staging_dir/toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to sem_post' /var/lib/jenkins/jobs/YunaPBX_Build_x86/workspace/staging_dir/toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to sem_wait'
/var/lib/jenkins/jobs/YunaPBX_Build_x86/workspace/staging_dir/toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to sem_init' /var/lib/jenkins/jobs/YunaPBX_Build_x86/workspace/staging_dir/toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to sem_destroy'
collect2: error: ld returned 1 exit status

fixed by:

TARGET_LDFLAGS += -flto -lpthread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant