Project

General

Profile

Actions

Anonymous #777

open

Build fails on FreeBSD Clang

Added by Anonymous over 1 year ago. Updated 2 months ago.

Status:
In Progress
Priority:
Urgent
Assignee:
Target version:
Start date:
2022-08-25
Due date:
% Done:

0%

Estimated time:
Patch Available:
Yes
Found in Versions:
0.9.3
Confirmed:
Yes
Security:
Help Needed:

Description

./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... unsupported
checking for cc option to enable C99 features... unsupported
checking for cc option to enable C89 features... unsupported
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ranlib... ranlib
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libssl >= 0.9.8 libcrypto >= 0.9.8... no
checking whether cc accepts PIE flags... yes
checking for check >= 0.9.6... yes
checking for backtrace_symbols_fd... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
OPENSSL: no
PIE: yes
TESTS: yes
Making all in src
make  all-am
cc -DHAVE_CONFIG_H -I.     -Wall -Wextra -Werror  -O2  -D_FORTIFY_SOURCE=2  -fstack-protector-strong -fstack-clash-protection  -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code  -Wpedantic -Wformat=2 -Wformat-overflow=2 -Wformat-truncation=2 -Wformat-security -Wnull-dereference -Wstack-protector -Wtrampolines -Walloca -Wvla -Warray-bounds=2 -Wimplicit-fallthrough=3 -Wtraditional-conversion -Wshift-overflow=2 -Wcast-qual -Wstringop-overflow=4 -Wconversion -Warith-conversion -Wlogical-op -Wduplicated-cond -Wduplicated-branches -Wformat-signedness -Wshadow -Wstrict-overflow=4 -Wundef -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wstack-usage=1000000 -Wcast-align=strict -g -O2 -fPIE -MT bip-bip_main.o -MD -MP -MF .deps/bip-bip_main.Tpo -c -o bip-bip_main.o `test -f 'bip_main.c' || echo './'`bip_main.c
cc: error: -Wl,-z,relro: 'linker' input unused [-Werror,-Wunused-command-line-argument]
cc: error: -Wl,-z,now: 'linker' input unused [-Werror,-Wunused-command-line-argument]
cc: error: -Wl,-z,noexecstack: 'linker' input unused [-Werror,-Wunused-command-line-argument]
cc: error: -Wl,-z,separate-code: 'linker' input unused [-Werror,-Wunused-command-line-argument]
*** Error code 1

Stop.
make[2]: stopped in /usr/home/SCRUBBED_USERNAME/bip/bip-0.9.3/src
*** Error code 1

Stop.
make[1]: stopped in /usr/home/SCRUBBED_USERNAME/bip/bip-0.9.3/src
*** Error code 1

Stop.
make: stopped in /usr/home/SCRUBBED_USERNAME/bip/bip-0.9.3

Using -Wno-unused-command-line-argument results in:

error: unknown warning option '-Wformat-overflow=2'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wformat-truncation=2' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wtrampolines' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Warray-bounds=2'; did you mean '-Warray-bounds'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wimplicit-fallthrough=3'; did you mean '-Wimplicit-fallthrough'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wtraditional-conversion'; did you mean '-Wliteral-conversion'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wshift-overflow=2'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wstringop-overflow=4'; did you mean '-Wshift-overflow'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Warith-conversion' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wduplicated-branches' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wformat-signedness' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wstack-usage=1000000' [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wcast-align=strict'; did you mean '-Wcast-align'? [-Werror,-Wunknown-warning-option]

Actions #2

Updated by Loïc Gomez 3 months ago

  • Status changed from New to In Progress
  • Priority changed from Normal to Urgent
  • Target version set to 21
  • Patch Available set to Yes
  • Confirmed changed from No to Yes
Actions #3

Updated by Loïc Gomez 3 months ago

  • Assignee set to Loïc Gomez
Actions #4

Updated by Loïc Gomez 2 months ago

  • Target version changed from 21 to 0.10.0
Actions

Also available in: Atom PDF