Subject: pkg/33669: error in /lang/gcc
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 06/08/2006 11:20:00
>Number:         33669
>Category:       pkg
>Synopsis:       error in /lang/gcc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 08 11:20:00 +0000 2006
>Originator:     Andreas Tannert
SunOS 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-V240
cc: Warning: illegal option -fPIC
"/usr/include/sys/feature_tests.h", line 332: #error: "Compiler or options invalid for pre-UNIX 03 X/Open applications      and pre-2001 POSIX applications"
cc: acomp failed for /opt/pkgsrc/GCC/pkgsrc/lang/gcc/work/gcc-2.95.3/libiberty/sigsetmask.c
gmake[1]: *** [sigsetmask.o] Error 2
gmake[1]: Leaving directory `/opt/pkgsrc/GCC/pkgsrc/lang/gcc/work/objdir/libiberty'
gmake: *** [all-libiberty] Error 2
*** Error code 2
bmake in /lang/gcc

with Sun WorkShop 5; cc -V output: Sun C 5.5 2003/03/12

in mk.conf I set:

CC= cc
CPP= /usr/ccs/lib/cpp