Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 03:28:52 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        bgrayson@marvin.ece.utexas.edu (Brian C. Grayson)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: a.out/ELF differences:  C++ static constructor ordering
Message-ID:  <199901290329.UAA15833@usr07.primenet.com>
In-Reply-To: <19990127170800.A27484@marvin.ece.utexas.edu> from "Brian C. Grayson" at Jan 27, 99 05:08:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>   I just noticed (after two days of gdb and instrumenting the STL
> header files -- fun!) that my current problem stems from the fact
> that under ELF, static constructors are invoked in a different
> order than under a.out.  


Sounds like you are compiling ACAP.

A correct program is not permitted to rely on order of construction
of static constructors.

Jeremy Allison patched our version of ACAP to ensure program
order matched expeced construction order.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

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



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