Skip to content

Fails to link under gcc 10 #20

@tyrylu

Description

@tyrylu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions