public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Mario.Nigrovic@Motorola.COM
To: gcc-gnats@gcc.gnu.org
Subject: c/6013: GCC 3.0.4 cannot compile glib-2.0.0 on SunOS 5.5.1
Date: Wed, 20 Mar 2002 04:36:00 -0000	[thread overview]
Message-ID: <20020320123202.14351.qmail@sources.redhat.com> (raw)


>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:


             reply	other threads:[~2002-03-20 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20  4:36 Mario.Nigrovic [this message]
2002-03-27 19:34 rodrigc
2002-04-20  8:29 rodrigc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020320123202.14351.qmail@sources.redhat.com \
    --to=mario.nigrovic@motorola.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).