Skip to content

Commit

Permalink
Added the compilation flag -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS to the …
Browse files Browse the repository at this point in the history
…compilations that were failing

because of implicit inclusion of checked headers.
Filed bug #109 to track this issue.
  • Loading branch information
sulekhark committed Mar 11, 2021
1 parent 05be6ef commit 04a47f3
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/BitBench/drop3/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

PROG = drop3
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS =
RUN_OPTIONS = $(PROJ_SRC_DIR)/input-file
include $(LEVEL)/MultiSource/Makefile.multisrc
3 changes: 2 additions & 1 deletion MultiSource/Benchmarks/FreeBench/pifft/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
LEVEL = ../../../..

PROG = pifft
CPPFLAGS = -DVERSION='"1.00"' -DCOMPDATE="\"today\"" -DCFLAGS='""' -DHOSTNAME="\"thishost\""
CPPFLAGS = -DVERSION='"1.00"' -DCOMPDATE="\"today\"" -DCFLAGS='""' -DHOSTNAME="\"thishost\""
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS = -lm
ifdef LARGE_PROBLEM_SIZE
RUN_OPTIONS = $(PROJ_SRC_DIR)/ref.in
Expand Down
2 changes: 1 addition & 1 deletion MultiSource/Benchmarks/MallocBench/espresso/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
LEVEL = ../../../..
PROG = espresso
CPPFLAGS += -DNOMEMOPT
CFLAGS += -std=gnu89
CFLAGS += -std=gnu89 -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
RUN_OPTIONS = -t $(PROJ_SRC_DIR)/INPUT/largest.espresso
include ../../../Makefile.multisrc
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/McCat/05-eks/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
LEVEL = ../../../..
PROG = eks
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS = -lm
#RUN_OPTIONS +=
#STDIN_FILENAME = bnchmrk.in1
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/McCat/18-imp/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..
PROG = imp
RUN_OPTIONS += $(PROJ_SRC_DIR)/sg01.imp
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS := -lm

include $(LEVEL)/MultiSource/Makefile.multisrc
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/MiBench/consumer-lame/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ LEVEL = ../../../..

PROG = consumer-lame
CPPFLAGS = -DHAVEMPGLIB -DLAMEPARSE -DNDEBUG -D__NO_MATH_INLINES -O -DLAMESNDFILE
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS = -lm
RUN_OPTIONS = -S $(PROJ_SRC_DIR)/large.wav /dev/null

Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/MiBench/consumer-typeset/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PROG = consumer-typeset
# FORTIFY_SOURCE is turned off for this benchmark because the type lies at some
# point in this program and FORIFY implementations rely on the correct type.
CPPFLAGS = -DOS_UNIX=1 -DOS_DOS=0 -DOS_MAC=0 -DDB_FIX=0 -DUSE_STAT=1 -DSAFE_DFT=0 -DCOLLATE=1 -DLIB_DIR=\"lout.lib\" -DFONT_DIR=\"font\" -DMAPS_DIR=\"maps\" -DINCL_DIR=\"include\" -DDATA_DIR=\"data\" -DHYPH_DIR=\"hyph\" -DLOCALE_DIR=\"locale\" -DCHAR_IN=1 -DCHAR_OUT=0 -DLOCALE_ON=1 -DASSERT_ON=1 -DDEBUG_ON=0 -DPDF_COMPRESSION=0 -D_FORTIFY_SOURCE=0
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS

ifeq ($(ARCH),Mips)
CPPFLAGS += -DCOLLATE=0 -DLOCALE_ON=0
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/MiBench/network-patricia/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

PROG = network-patricia
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS = -lm
RUN_OPTIONS = $(PROJ_SRC_DIR)/large.udp
HASH_PROGRAM_OUTPUT = 1
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/MiBench/office-ispell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ LEVEL = ../../../..

PROG = office-ispell
CPPFLAGS = -Dconst=
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS = -lm
RUN_OPTIONS = -a -d $(PROJ_SRC_DIR)/americanmed+
STDIN_FILENAME = $(PROJ_SRC_DIR)/large.txt
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

CPPFLAGS += -fcommon
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
PROG = timberwolfmc
LDFLAGS=-lm
include $(LEVEL)/MultiSource/Makefile.multisrc
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/agrep/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

PROG = agrep
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
RUN_OPTIONS = -2 int $(PROJ_SRC_DIR)/InstructionCombining.cpp.txt
HASH_PROGRAM_OUTPUT = 1
include $(LEVEL)/MultiSource/Makefile.multisrc
Expand Down
2 changes: 2 additions & 0 deletions MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ ifdef HAVE_RE_COMP
PROG = archie
endif

CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS

include $(LEVEL)/MultiSource/Makefile.multisrc

ifeq ($(TARGET_OS),SunOS)
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/assembler/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

PROG = assembler
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS = -lm
include $(LEVEL)/MultiSource/Makefile.multisrc

1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/cdecl/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

CFLAGS += -std=gnu89
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS

PROG = cdecl
STDIN_FILENAME = $(SourceDir)/testset
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/loader/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

CPPFLAGS = -fcommon
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
LDFLAGS = -lm
PROG = loader
include $(LEVEL)/MultiSource/Makefile.multisrc
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/unix-smail/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

PROG = unix-smail
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
RUN_OPTIONS = -v ALL
STDIN_FILENAME = $(PROJ_SRC_DIR)/main.c

Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Ptrdist/bc/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

PROG = bc
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
OBJS = scan.o util.o main.o number.o storage.o load.o execute.o bc.o global.o
STDIN_FILENAME = $(PROJ_SRC_DIR)/primes.b
HASH_PROGRAM_OUTPUT = 1
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Trimaran/netbench-url/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

PROG = netbench-url
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
ifdef LARGE_PROBLEM_SIZE
RUN_OPTIONS = $(PROJ_SRC_DIR)/medium_inputs 1400
else
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/VersaBench/dbms/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
LEVEL = ../../../..

PROG = dbms
CFLAGS += -DNO_IMPLICIT_INCLUDE_CHECKED_HDRS
ifdef SMALL_PROBLEM_SIZE
RUN_OPTIONS = -i $(PROJ_SRC_DIR)/dbms.train.in
else
Expand Down

0 comments on commit 04a47f3

Please sign in to comment.