NetBSD Problem Report #42131

From  Sun Sep 27 12:44:59 2009
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id A854163BBD8
	for <>; Sun, 27 Sep 2009 12:44:59 +0000 (UTC)
Message-Id: <>
Date: Sun, 27 Sep 2009 12:44:59 +0000 (UTC)
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
SunOS ultra10 5.10 Generic_139555-08 sun4u sparc SUNW,Ultra-5_10
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.

Compile with '-xO1' flags



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


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.