Skip to content

Error: invalid attempt to declare external version name as default in symbol `crypt_gensalt@@XCRYPT_2.0' #223

@FaberFlorian

Description

@FaberFlorian

Setup:

  • gcc 15.2.1 20260214,
  • binutils 2.46.0,
  • libxcrypt 4.5.2,
  • cross-compilation arm/armhf

Builds fail with

/tmp/ccizgB1I.s: Error: invalid attempt to declare external version name as default in symbol `crypt_gensalt@@XCRYPT_2.0'
make[8]: *** [/tmp/ccYJjjLM.mk:2: /tmp/cc1OXNxc.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.

with LTO enabled.

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