Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2000 22:22:55 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        obrien@FreeBSD.ORG
Cc:        nm <nmanisca@vt.edu>, freebsd-alpha@FreeBSD.ORG, jdp@FreeBSD.ORG
Subject:   Re: g++ problems?
Message-ID:  <14558.54055.418869.734754@grasshopper.cs.duke.edu>
In-Reply-To: <20000326123439.C86753@dragon.nuxi.com>
References:  <3.0.32.20000326131248.03413770@mail.vt.edu> <20000326123439.C86753@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

David O'Brien writes:
 > On Sun, Mar 26, 2000 at 01:12:49PM -0500, nm wrote:
 > > Are there problems with g++ on 4.0-RELEASE?
 > > I tried a simple hello world program, but I get
 > > unaligned access's out the wazoo.
 > 
 > This has happened for as long as I've tired hello.cxx on 4-CURRENT (which
 > hasn't been very long that I've done this test).  Do you know if there
 > was some point in the past where this wasn't happening?
 > 
 > Using printf() instead of I/O streams w/G++ gives the same.  Using gcc on
 > the same hello.c doesn't.

I suspect this has something to do with the rtld process, as the
addresses (0x1600baf84...) are in the range which is typically used by
ld-elf.  Also, if one links binaries statically (-static), the problem
seems to go away.

Drew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14558.54055.418869.734754>