Subject: pkg/36826: There is no support for Sun Studio 12 compilers on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <anton.vysotsky@gmail.com>
List: pkgsrc-bugs
Date: 08/24/2007 08:45:02
>Number: 36826
>Category: pkg
>Synopsis: There is no support for Sun Studio 12 compilers on Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Aug 24 08:45:02 +0000 2007
>Originator: Anton Vysotsky
>Release: latest pkgsrc-2007Q2
>Organization:
>Environment:
Linux linux 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
>Description:
I'd like to use Sun Studio 12 compiler collection for building applications from sources under pkgsrc framework on Linux. I can do it on Solaris, but unfortunately not on Linux. I could not even do bootstrap. Looks like pkgsrc on linux are adopted especially for gcc, even I set sunpro compiler. I assumed it, because options like "-Wno-format -fno-builtin -Werror " looks like gcc-specific options. See error log for details.
>How-To-Repeat:
# cd /pkgsrc/pkgsrc/bootstrap
# ./bootstrap --workdir /pkgsrc/work --prefix /pkgsrc --pkgdbdir /pkgsrc/pkgdb --ignore-user-check --compiler sunpro
[... skipped ...]
cc -O2 -g -D_PATH_DEFSYSPATH=\"/pkgsrc/share/mk\" -I. -I/pkgsrc/work/bmake -DHAVE_CONFIG_H -I../../libnbcompat -I/pkgsrc/work/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DSIGNAL_FLAGS=SA_RESTART -Wno-format -fno-builtin -Werror -I../../libnbcompat -c /pkgsrc/work/bmake/arch.c
cc: illegal option -Wno-format
*** Error code 1
Stop.
bmake.boot: stopped in /pkgsrc/work/bmake/Linux
make: *** [bootstrap] Error 1
===> exited with status 1
aborted.
>Fix: