Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Generics    [ Add a report in this area ]  
Report #:  122720   Status: Closed
iOS and Android compilers have serious problems with heavy generic use
Project:  Delphi Build #:  19.0.14356.6604
Version:    19.2 Submitted By:   Stefan Glienke
Report Type:  Crash / Data loss / Total failure Date Reported:  2/24/2014 7:16:08 AM
Severity:    Critical / Show Stopper Last Updated: 6/8/2014 6:19:34 PM
Platform:    All platforms Internal Tracking #:   47957
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : XE6
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
5.00 out of 5
Total Votes: 20
Description
This problems seems to be related to heavy generic usage inside one unit.
I found it when compiling unit tests for the Spring4D collections.

Edit:
I was able to work around this bug - see this commit: https://bitbucket.org/sglienke/spring4d/commits/1212f06fd72b6de27f47fb7040addd62bd4f4f0e

So I guess the ARM compiler is running into some endless loop.
Steps to Reproduce:
- check out http://bitbucket.org/sglienke/spring4d/commits/9284b019624b374257b134c1df6456c063618cba

- compile Tests\Mobile\DelphiXE5\Spring.Tests.Mobile.dpr project using iOS or Android as target and watch the compiler hang on compiling Spring.Tests.Collections.Extensions
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 6/8/2014 6:19:28 PM -
This is a comment from internal tracking system.
<<<<<<
Current sources do not hang at compiler time with Spring4D sources as of 2014-06-05.
>>>>>>

Server Response from: ETNACODE01