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

Fails to link under gcc 10 #20

Open
tyrylu opened this issue Feb 12, 2020 · 2 comments
Open

Fails to link under gcc 10 #20

tyrylu opened this issue Feb 12, 2020 · 2 comments

Comments

@tyrylu
Copy link

tyrylu commented Feb 12, 2020

Hello.
When checking the logs after a Fedora mass rebuild using gcc 10, i came acros a link failure in speech_tools. You needed to add -fnocommon to the gcc args to fix it.
The error was:

Link Shared Library estools
if [ -n "" ] ; then libs='     -lncurses -lasound  -ldl  -lm  -lstdc++
-fopenmp ' ; fi ;\
gcc -shared -o libestools.so.2.5.0.1 shared_space/*.o  $libs
/usr/bin/ld: shared_space/siodeditline.o:(.data.rel.local+0x8): multiple
definition of `editline_history_file';
shared_space/editline.o:(.bss+0x28): first defined here
collect2: error: ld returned 1 exit status
@lenzo-ka
Copy link
Collaborator

Please try again vs. ToT master

@maricn
Copy link

maricn commented Mar 10, 2022

i came here from https://aur.archlinux.org/packages/festival-patched-hts because the build fails, and after applying a patch as in #21, it succeeded..

UPDATE: actually after that patch, it failed further at:

/usr/bin/ld: ../lib/libestbase.a(list_s_t.o):(.bss+0x8): multiple definition of `EST_TItem<EST_String>::s_free'; list_regression.o:(.bss+0x8): first defined here
/usr/bin/ld: ../lib/libestbase.a(list_s_t.o):(.bss+0x0): multiple definition of `EST_TItem<EST_String>::s_nfree'; list_regression.o:(.bss+0x0): first defined here
/usr/bin/ld: ../lib/libestbase.a(list_s_t.o):(.bss+0x4): multiple definition of `EST_TItem<EST_String>::s_maxFree'; list_regression.o:(.bss+0x4): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [../config/rules/test_make_rules.mak:131: list_regression] Error 1
make: *** [config/rules/targets.mak:57: testsuite] Error 2
==> ERROR: A failure occurred in build().

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

Successfully merging a pull request may close this issue.

3 participants