NetBSD Problem Report #42131

From www@NetBSD.org  Sun Sep 27 12:44:59 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A854163BBD8
	for <gnats-bugs@gnats.netbsd.org>; Sun, 27 Sep 2009 12:44:59 +0000 (UTC)
Message-Id: <20090927124459.75F5163B883@www.NetBSD.org>
Date: Sun, 27 Sep 2009 12:44:59 +0000 (UTC)
From: raymond.meyer@rambler.ru
Reply-To: raymond.meyer@rambler.ru
To: gnats-bugs@NetBSD.org
Subject: textproc/xmlcatmgr has problems with Sun Studio compilers
X-Send-Pr-Version: www-1.0

>Number:         42131
>Category:       pkg
>Synopsis:       textproc/xmlcatmgr has problems with Sun Studio compilers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 27 12:45:00 +0000 2009
>Last-Modified:  Tue Dec 01 13:25:30 +0000 2009
>Originator:     RM
>Release:        
>Organization:
>Environment:
SunOS ultra10 5.10 Generic_139555-08 sun4u sparc SUNW,Ultra-5_10
>Description:
Building xmlcatmgr with Sun Studio compilers and the following flags:

cc -xO4 -xtarget=native -xbuiltin=%all -xlibmil -xlibmopt -fround=nearest -xstrconst

produces xmlcatmgr that does not install xml catalogs properly, it also appends garbage to the end of xml files. Compiler optimisations cause something to go wrong with this software.
>How-To-Repeat:

>Fix:
Compile with '-xO1' flags

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Tue, 01 Dec 2009 13:25:30 +0000
Responsible-Changed-Why:
Solaris problem.
(Do we support non-default CFLAGS at all?)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.