Friday, 28 February 2014

Re: [gccsdk] GCC 4.7.4 Rel 1 Dev 2014-01-08: initial comments and feedback.

On 27/02/14 12:18, Duncan Moore wrote:
> GCCSDK GCC 4.7.4 Release 1 Development 4.7.4 2014-01-08
> SharedUnixLibrary 1.12
> VRPC RISC OS 4.39
>
> 1) I need a Wimpslot of 15MB, otherwise I get the error "Wimpslot not
> big enough to run ELF program". Is a Wimpslot of this size to be
> expected? !Help suggests that 6MB is more typical. I was previously
> using 8MB.

Yes, !Help is out of date here and refers to GCC 4.1.2, the cc1 program,
for example, (which is the actual compiler) grew in size from
just over 3.5MB in 4.1.2 to nearly 10MB in 4.7.4, so 15MB is more like
it.

> 2) I manually copied abi-1.0 into the new !SharedLibs, so that old ELF
> programs would still work. Is this how it is intended to be done (i.e. a
> manual copy of a sub-folder), or is some more elegant solution intended?
> For example: copy new !SharedLibs over the old one; or in release
> versions will all old abi-n.0 be supplied with the new !ShareLibs?

I don't think we intend on supplying the old libraries as standard with
the new ones. I think you're right on both counts above depending on
what you're starting with. If you start with the new, then copying
abi-1.0 is probably the best way, but if you start with the old, then
copying the new over the old is the best way to ensure you get the
latest SOManager module, etc.

> 3) The -mthrowback option does not do anything.

Yes, the throwback code has not been ported to the newer compiler as
yet.

> 4) This program loops infinitely:
>
> #include <stdio.h>
> int main(void) {
> for (int i=0;i<6;++i)
> printf("%i\n",i);
> return 0;
> }
>
> *gcc -std=c99 abc.c -O2
> *a/out
>
> -O1 and -O3 are OK!

I can't reproduce this. I've built using the cross and native compilers
running under rpcemu, but the program exits correctly.

Thanks for your feedback,
Lee.


_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment