11674 Restore support for GCC 4

Review Request #2294 - Created Sept. 11, 2019 and discarded

Information
Andrew Stormont
illumos-gate
11674
Reviewers
general

After syncing up with master by builds are now failing:

dmake: Fatal error: Command failed for target `dmod/pcplusmp.o'
Current working directory /code/illumos-gate/usr/src/cmd/mdb/i86pc/modules/pcplusmp/amd64
Waiting for 1 job to finish
omniosce --> Job output
+ /opt/gcc-4.4.4/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -D__sun -fno-strict-aliasing -fno-unit-at-a-time -fno-optimize-sibling-calls -O2 -m64 -mtune=opteron -Ui386 -U__i386 -Wall -Wextra -Werror -Wno-missing-braces -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wno-missing-field-initializers -Wno-array-bounds -Wno-unused-function -std=gnu99 -fno-inline-small-functions -fno-inline-functions-called-once -fno-ipa-cp -g -gdwarf-2 -std=gnu99 -msave-args -ffreestanding -mno-red-zone -mno-mmx -mno-sse -msave-args -fPIC -DTEXT_DOMAIN="SUNW_OST_OSCMD" -I/code/illumos-gate/proto/root_i386/usr/include -D_ELF64 -D_KERNEL -ffreestanding -I../../../common -DMP -D_MACHDEP -I../../../../common -I../../common -I/code/illumos-gate/usr/src/uts/intel -I/code/illumos-gate/usr/src/uts/i86pc -D_KMDB -c -o /tmp/cw.2Iq28z/cw1Jq78z.o ../pcplusmp.c -mcmodel=kernel
../pcplusmp.c:1: error: code model kernel does not support PIC mode
../pcplusmp.c:1: error: code model 'kernel' not supported in the 64 bit mode
*** Error code 1

Build only.

Andrew Stormont
Andrew Stormont
Review request changed

Status: Discarded

Loading...