debug/7193: Debug and Optimize causes link failure

PickinA@logica.com PickinA@logica.com
Wed Jul 3 04:59:00 GMT 2002


>Number:         7193
>Category:       debug
>Synopsis:       Debug and Optimize causes link failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 03 04:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Pickin
>Release:        3.1.0 & 3.0.4
>Organization:
>Environment:
Solaris 8 (32-bit). Sparc.
Both Solaris & GNU ld
>Description:
Using both -g an -O causes the example code to fail to link.
>How-To-Repeat:
make

See FaultReport.txt included in the attachment.
>Fix:
Workaround. Replace the function call complained about by
inline code
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="AMP.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="AMP.tar.gz"

H4sICFfjIj0AA0FNUC50YXIA7Rxrc9s2Ml/FX4FJOq3sWBQfejjyuRPHcVLfJbXHVqbJdToqRUES
zxShIUg7bib//RYPUuBLkhvZaVph2ogEFruLxb5ALq03j96e6+6j+2yGaRidVuuRAa1ltvlvxzL4
LzTbMjqPjG7bNNrtlm3b0G/algXw98qVbDGNnBBIOsEoxDfzSjgyuqUU31aOs5WYVjtZ1H2weh/t
iRe4fjzC6F80GnlEn/6oaU9GeOwFGJ1fDs7+U6vtqx0nFxdnF7VuBujF2cXLk4vB66PzWq2lG+pQ
/7T/5gQA3g9+Ojl9/VO/Zhs1dfz86BxmyrFux8jOFqO/nL7s/1Rrt3ODb4/OB/0zIFnP4UENVLd1
A+1meUNPyxja2VFxvjzqHy2QSgqAL8sLYLLz2DNoLo+POJF+raYghWlWfpqmeUGE5vTCm0yjPv4Y
1V+dvjlBu+P5nlaruSSgEXKnToh22eBlFHrBhI2MfeJE6P05oYu7D3C3o33SaiGO4jCo8+3bOdA+
J0Reeb5/gd3ICSY+rtdUSgnCS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