Sadness

sn some at where.com
Tue Mar 4 11:32:06 PST 2008


== Quote from Walter Bright (newshound1 at digitalmars.com)'s article
> Bill Baxter wrote:
> > ---------------------------
> > Unexpected OPTLINK Termination at EIP=0044C37B
> I know that optlink can crash if you have a static array that exceeds
> 16Mb in size.

The bug was reported long time ago:

http://d.puremagic.com/issues/show_bug.cgi?id=424

(hey, and you updated it:)

------- Comment #10 From Bill Baxter  2007-11-14 18:55  [reply] -------
....

To reproduce, check out revision 111 of OpenMesh from the svn repository:

If you don't have dsss installed, install it first
(http://www.dsource.org/projects/dsss)

Then:

$ mkdir scratch
$ cd scratch
$ svn co -r111 http://svn.dsource.org/projects/openmeshd/trunk .
$ cd OpenMeshD\OpenMesh\Apps\GLViewer
$ dsss net deps
$ dsss build -version=OPTLINKIsMyFriend

If there are complaints about Helix things, you may need to go to the Helix dir
and do a "dsss build && dsss install"


------- Comment #11 From Bill Baxter 2007-11-14 23:37 [reply] -------

Upgrading the severity because I just ran into this again adding to an
unrelated part of the main .d file.  Moving the added code to a different file
fixed it for now but that may not always be so easy to do if the code needs to
be in the generic, templated part of things.  Then it seems it will end up
instantiating in the main .obj file no matter where I put it.

Also further rearrangement of the code started triggering the "previous
definition different blahblah_initZ" bug.

So, yeh, this is a bad one, and it affects more than just code with gigantic
source files.   It appears to affect any template library with a few tens of
thousands of lines of code.




More information about the Digitalmars-d mailing list