RejectedSoftware Forums

Sign up

Pages: 1 2

Re: Cannot compile template in release mode

On Thu, 19 Sep 2013 08:19:31 +0200, Sönke Ludwig wrote:

Thanks a bunch for digging a bit deeper! To improve the immediate
situation, since master contains also some important fixes, I'll do a
small maintenance release shortly containing the formattedWrite
workaround.

It is somewhat weird issue, dustmite reduces it to single import statement. Compiling (dmd -c) anything which includes vibe.http.server will fail in DMD backend during code gen. And code of vibe.http.server itself gets reduces to vibe.http.common because of circular import.

Re: Cannot compile template in release mode

On Thu, 19 Sep 2013 11:15:20 GMT, Dicebot wrote:

On Thu, 19 Sep 2013 08:19:31 +0200, Sönke Ludwig wrote:

Thanks a bunch for digging a bit deeper! To improve the immediate
situation, since master contains also some important fixes, I'll do a
small maintenance release shortly containing the formattedWrite
workaround.

It is somewhat weird issue, dustmite reduces it to single import statement. Compiling (dmd -c) anything which includes vibe.http.server will fail in DMD backend during code gen. And code of vibe.http.server itself gets reduces to vibe.http.common because of circular import.

Hmm, I remember to having similar issues some time ago, but can't find a matching bugzilla entry...

Re: Cannot compile template in release mode

On Thu, 19 Sep 2013 12:33:14 GMT, Sönke Ludwig wrote:

On Thu, 19 Sep 2013 11:15:20 GMT, Dicebot wrote:

On Thu, 19 Sep 2013 08:19:31 +0200, Sönke Ludwig wrote:

Thanks a bunch for digging a bit deeper! To improve the immediate
situation, since master contains also some important fixes, I'll do a
small maintenance release shortly containing the formattedWrite
workaround.

It is somewhat weird issue, dustmite reduces it to single import statement. Compiling (dmd -c) anything which includes vibe.http.server will fail in DMD backend during code gen. And code of vibe.http.server itself gets reduces to vibe.http.common because of circular import.

Hmm, I remember to having similar issues some time ago, but can't find a matching bugzilla entry...

It also seems to be partially related to -inline switch - toggling it sometimes changes the result for reduced test cases.

Re: Cannot compile template in release mode

And who did this: http://d.puremagic.com/issues/show_bug.cgi?id=11062 ? :)

Judging by reduced test case it does not seem it is related to that sformat issue though, simply another regression that hid it. Will need to re-try it after merging, maybe it is already fixed .

Re: Cannot compile template in release mode

On Fri, 20 Sep 2013 14:59:43 GMT, Dicebot wrote:

And who did this: http://d.puremagic.com/issues/show_bug.cgi?id=11062 ? :)

Judging by reduced test case it does not seem it is related to that sformat issue though, simply another regression that hid it. Will need to re-try it after merging, maybe it is already fixed .

Nice, has this exposed new issue, now linker regression:

/tmp/.rdmd-1000/rdmd-app.d-9069AA21EB13E759B2C02C48539EC93D/objs/app.o: In function `_D4vibe4inet7message13decodeMessageFxAhAyaZAya':
/usr/share/vibed/source/deimos/openssl/ecdh.d:(.text._D4vibe4inet7message13decodeMessageFxAhAyaZAya+0x18b): undefined reference to `_D3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7Decoder8popFrontMFNaZv'
/tmp/.rdmd-1000/rdmd-app.d-9069AA21EB13E759B2C02C48539EC93D/objs/app.o: In function `_D3std6base6424__T10Base64ImplVa43Va47Z153__T7decoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7decoderFNaS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZS3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7Decoder':
/usr/share/vibed/source/deimos/openssl/ecdh.d:(.text._D3std6base6424__T10Base64ImplVa43Va47Z153__T7decoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7decoderFNaS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZS3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7Decoder+0x3d): undefined reference to `_D3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7Decoder6__ctorMFNaNcS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZS3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7Decoder'
/tmp/.rdmd-1000/rdmd-app.d-9069AA21EB13E759B2C02C48539EC93D/objs/app.o:(.data._D211TypeInfo_S3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7Decoder6__initZ+0x38): undefined reference to `_D3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7Decoder11__xopEqualsFKxS3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7DecoderKxS3std6base6424__T10Base64ImplVa43Va47Z153__T7DecoderTS4vibe4inet7message13decodeMessageFxAhAyaZAya79__T12FilterResultS544vibe4inet7message13decodeMessageFxAhAyaZAya9__lambda3TAxhZ12FilterResultZ7DecoderZb'
collect2: error: ld returned 1 exit status

Most likely related to https://github.com/D-Programming-Language/dmd/pull/2550 (but can be also any other recent symbol emitting change)

No idea how to reduce right now :)

Pages: 1 2