From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18043 invoked by alias); 20 Mar 2002 12:36:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17997 invoked by uid 71); 20 Mar 2002 12:36:02 -0000 Resent-Date: 20 Mar 2002 12:36:02 -0000 Resent-Message-ID: <20020320123602.17996.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, Mario.Nigrovic@Motorola.COM Received:(qmail 14352 invoked by uid 61); 20 Mar 2002 12:32:02 -0000 Message-Id:<20020320123202.14351.qmail@sources.redhat.com> Date: Wed, 20 Mar 2002 04:36:00 -0000 From: Mario.Nigrovic@Motorola.COM Reply-To: Mario.Nigrovic@Motorola.COM To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/6013: GCC 3.0.4 cannot compile glib-2.0.0 on SunOS 5.5.1 X-SW-Source: 2002-03/txt/msg00752.txt.bz2 List-Id: >Number: 6013 >Category: c >Synopsis: GCC 3.0.4 cannot compile glib-2.0.0 on SunOS 5.5.1 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Mar 20 04:36:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mario Nigrovic >Release: gcc-3.0.4 >Organization: >Environment: Solaris 2.5.1 (SunOS 5.5.1) make make-3.79.1 m4 m4-1.4 autoconf autoconf-2.52 automake automake-1.5 binutils binutils-2.11.2 libiconv libiconv-1.7 gettext gettext-0.10.40 --with-libiconv-prefix=$release bison bison-1.33 flex flex-2.5.4a textutils textutils-2.0.16 gperf gperf-2.7.2 gcc gcc-3.0.4 --with-gnu-as --with-as=$pfx/bin/as \ --with-gnu-ld --with-ld=$pfx/bin/ld libtool libtool-1.4.2 cpio cpio-2.4.2 diffutils diffutils-2.7 fileutils fileutils-4.1.1 gawk gawk-3.1.0 grep grep-2.4.2 less less-374 patch patch-2.5.4 sed sed-3.02 texinfo texinfo-4.1 wget wget-1.8.1 pkgconfig pkgconfig-0.12.0 >Description: Package glib uses an internal static structure to find memory functions (malloc, etc), but somehow these are not initialized correctly on 5.5.1. The glib code exhibits the same failings on Solaris 2.6 if gcc 2.95.[23] is used, but gcc 3.0.4 fixed the issue on that architecture. The configure code for various other packages contains a snippit which should return the version of glib, but this cores also. >How-To-Repeat: Download glib-2.0.0 from www.gtk.org, then configure --with-libiconv --prefix=/somewhere/else make Partway through the build, it tries to use glib-genmarshal, but this program cores when it references g_strdup, which references g_new, which is a macro for g_malloc, which gets lost when it calls mem = glib_mem_vtable.malloc (n_bytes); >Fix: >Release-Note: >Audit-Trail: >Unformatted: