NetBSD Problem Report #36826
From martin@duskware.de Fri Aug 24 08:44:29 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 865C263B898
for <gnats-bugs@gnats.netbsd.org>; Fri, 24 Aug 2007 08:44:29 +0000 (UTC)
Message-Id: <20070824084246.430B063B898@narn.NetBSD.org>
Date: Fri, 24 Aug 2007 08:42:46 +0000 (UTC)
From: anton.vysotsky@gmail.com
Reply-To: anton.vysotsky@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: There is no support for Sun Studio 12 compilers on Linux
X-Send-Pr-Version: www-1.0
>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
>Closed-Date:
>Last-Modified: Fri Nov 20 11:40:48 +0000 2009
>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:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: rillig@netbsd.org
Responsible-Changed-When: Sat, 25 Aug 2007 09:35:06 +0000
Responsible-Changed-Why:
I'll take it.
State-Changed-From-To: open->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Sat, 25 Aug 2007 09:35:06 +0000
State-Changed-Why:
Fixed in pkgsrc/pkgtools/bootstrap-mk-files/files/mods/bsd.own.mk.in
revision 1.2. Please update pkgsrc and try again. Thanks for the PR.
From: Anton Vysotsky <anton.vysotsky@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: rillig@NetBSD.org, pkg-manager@netbsd.org,
pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/36826 (There is no support for Sun Studio 12 compilers on
Linux)
Date: Mon, 27 Aug 2007 16:16:32 +0400
Hello,
Looks like this is only part of solution, because bootstrap building
were stop at the same place this way
cc -O2 -g -D_PATH_DEFSYSPATH=\"/work/share/mk\" -I. -I/work/bmake
-DHAVE_CONFIG_H -I../../libnbcompat -I/work/bmake/missing
-DNEED_HOST_CDEFS_H -DMAKE_NATIVE -DSIGNAL_FLAGS=SA_RESTART -Werror
-I../../libnbcompat -c /work/bmake/arch.c
cc: illegal option -Werror
BTW, as a workaround setting variable NOGCCERROR could be used.
=Anton
> Synopsis: There is no support for Sun Studio 12 compilers on Linux
>
> Responsible-Changed-From-To: pkg-manager->rillig
> Responsible-Changed-By: rillig@netbsd.org
> Responsible-Changed-When: Sat, 25 Aug 2007 09:35:06 +0000
> Responsible-Changed-Why:
> I'll take it.
>
>
> State-Changed-From-To: open->closed
> State-Changed-By: rillig@netbsd.org
> State-Changed-When: Sat, 25 Aug 2007 09:35:06 +0000
> State-Changed-Why:
> Fixed in pkgsrc/pkgtools/bootstrap-mk-files/files/mods/bsd.own.mk.in
> revision 1.2. Please update pkgsrc and try again. Thanks for the PR.
>
>
>
>
>
State-Changed-From-To: closed->open
State-Changed-By: obache@netbsd.org
State-Changed-When: Mon, 27 Aug 2007 14:30:34 +0000
State-Changed-Why:
Problem still exists.
Responsible-Changed-From-To: rillig->pkg-manager
Responsible-Changed-By: rillig@NetBSD.org
Responsible-Changed-When: Fri, 20 Nov 2009 11:40:48 +0000
Responsible-Changed-Why:
I have no idea about this PR anymore.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.