Skip to content

ld: error: undefined hidden symbol: Perl_do_ncmp #2

@eserte

Description

@eserte

Fails to link with perl 5.38 and later:

cc  -shared  -L/usr/local/lib -fstack-protector-strong  XS.o  -o blib/arch/auto/Algorithm/Heapify/XS/XS.so        
ld: error: undefined hidden symbol: Perl_do_ncmp
>>> referenced by XS.c
>>>               XS.o:(sift_up)
>>> referenced by XS.c
>>>               XS.o:(sift_down)
>>> referenced by XS.c
>>>               XS.o:(sift_down)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

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