On 4/15/24 02:55, Richard W.M. Jones wrote:
Anyone got any idea about this build failure? https://koji.fedoraproject.org/koji/taskinfo?taskID=116395331 [+] All set and ready to build. clang: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,-z,pack-relative-relocs: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,--build-id=sha1: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lrt: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument] clang: error: unsupported argument 'gnu2' to option '-mtls-dialect=' for target 'x86_64-redhat-linux-gnu' AFAICT -mtls-dialect=gnu2 is not added by anything in the spec file or in AFL++ sources, so it must be coming from RPM macros?
Are you building with both gcc and clang? If you are only building with clang, you should use the toolchain macro which will ensure you get the correct flags; %global toolchain clang -Tom
Rich.
-- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
