Project

General

Profile

Bug #11674

Restore support for GCC 4

Added by Andrew Stormont about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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

Also available in: Atom PDF