Re: clang: error: unsupported argument 'gnu2' to option '-mtls-dialect=' for target 'x86_64-redhat-linux-gnu'

2024-04-15 Thread Richard W.M. Jones
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

Re: clang: error: unsupported argument 'gnu2' to option '-mtls-dialect=' for target 'x86_64-redhat-linux-gnu'

2024-04-15 Thread Tom Stellard
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

Re: clang: error: unsupported argument 'gnu2' to option '-mtls-dialect=' for target 'x86_64-redhat-linux-gnu'

2024-04-15 Thread Sérgio Basto
rgument] > 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'

Re: clang: error: unsupported argument 'gnu2' to option '-mtls-dialect=' for target 'x86_64-redhat-linux-gnu'

2024-04-15 Thread Dan Horák
mand-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 &

Re: clang: error: unsupported argument 'gnu2' to option '-mtls-dialect=' for target 'x86_64-redhat-linux-gnu'

2024-04-15 Thread Neal Gompa
t] > 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++

Re: clang: error: unsupported argument 'gnu2' to option '-mtls-dialect=' for target 'x86_64-redhat-linux-gnu'

2024-04-15 Thread Richard W.M. Jones
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

clang: error: unsupported argument 'gnu2' to option '-mtls-dialect=' for target 'x86_64-redhat-linux-gnu'

2024-04-15 Thread Richard W.M. Jones
] 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