Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build breaks with the clang compiler #193

Open
yurivict opened this issue Feb 18, 2023 · 0 comments
Open

Build breaks with the clang compiler #193

yurivict opened this issue Feb 18, 2023 · 0 comments

Comments

@yurivict
Copy link

cc: error: cc -E -P -DGENERATE_INIT -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=gnu11 -foptimize-sibling-calls -fstrict-aliasing -Wstrict-aliasing -Wall -Iobj -Isrc -Iradb -Iminilang/src -Iminilang/obj -Iradb -pthread -DSQLITE_THREADSAFE=0 -DGC_THREADS -D_GNU_SOURCE -DFreeBSD -I/usr/local/include -O3 -g src/target_symb.c | sed -f sed.txt | grep -o 'INIT_CODE .*);' | sed 's/INIT_CODE //g' > obj/target_symb_init.c.tmp
unknown argument: '-mno-align-stringops'
cc: error: unknown argument: '-mno-align-stringops'
cc: error: unknown argument: '-fno-tree-loop-distribute-patterns'
gmake[2]: *** [<builtin>: string.o] Error 1
echo "" > obj/targetset_init.c
gmake[2]: *** Waiting for unfinished jobs....
cc: error: unknown argument: '-mno-align-stringops'
cc: error: unknown argument: '-fno-tree-loop-distribute-patterns'
cc: error: unknown argument: '-mno-align-stringops'
cc: error: unknown argument: '-mno-align-stringops'
gmake[2]: *** [<builtin>: linear_index.o] Error 1
cc: error: unknown argument: '-fno-tree-loop-distribute-patterns'
cc: error: unknown argument: '-fno-tree-loop-distribute-patterns'
gmake[2]: *** [<builtin>: common.o] Error 1
cc -E -P -DGENERATE_INIT -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=gnu11 -foptimize-sibling-calls -fstrict-aliasing -Wstrict-aliasing -Wall -Iobj -Isrc -Iradb -Iminilang/src -Iminilang/obj -Iradb -pthread -DSQLITE_THREADSAFE=0 -DGC_THREADS -D_GNU_SOURCE -DFreeBSD -I/usr/local/include -O3 -g src/targetset.c | sed -f sed.txt | grep -o 'INIT_CODE .*);' | sed 's/INIT_CODE //g' > obj/targetset_init.c.tmp
echo "" > obj/library_init.c
ccmkdir -p bin
gmake[2]: *** [<builtin>: string_index2.o] Error 1
cc -E -P -DGENERATE_INIT -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=gnu11 -foptimize-sibling-calls -fstrict-aliasing -Wstrict-aliasing -Wall -Iobj -Isrc -Iradb -Iminilang/src -Iminilang/obj -Iradb -pthread -DSQLITE_THREADSAFE=0 -DGC_THREADS -D_GNU_SOURCE -DFreeBSD -I/usr/local/include -O3 -g src/library.c | sed -f sed.txt | grep -o 'INIT_CODE .*);' | sed 's/INIT_CODE //g' > obj/library_init.c.tmp
: error: unknown argument: '-fno-tree-loop-distribute-patterns'
gmake[2]: *** [<builtin>: fixed.o] Error 1
mv obj/target_symb_init.c.tmp obj/target_symb_init.c
cc: error: unknown argument: '-mno-align-stringops'
cc: error: unknown argument: '-fno-tree-loop-distribute-patterns'
gmake[2]: *** [<builtin>: fixed_index2.o] Error 1

Version: 2.27.6
clang-14
FreeBSD 13.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant