On January 28, 2015 4:23:05 PM CET, David Edelsohn <dje....@gmail.com> wrote: >On Wed, Jan 28, 2015 at 6:45 AM, Richard Biener ><richard.guent...@gmail.com> wrote: >> On Wed, Jan 28, 2015 at 12:24 PM, Jakub Jelinek <ja...@redhat.com> >wrote: >>> On Wed, Jan 28, 2015 at 12:15:40PM +0100, Richard Biener wrote: >>>> > Note, patch successfully bootstrapped/regtested on x86_64-linux >and >>>> > i686-linux, and David said that on AIX it passed stage1 cc1 >linking. >>>> > >>>> > Ok for trunk? >>>> >>>> Is the stabs issue meanwhile fixed at least on trunk? >>> >>> AFAIK no. The generic stabs code has support for either infinite >length >>> records, or records split using continuations (targets can choose >which >>> character is continuation character). But AIX doesn't support >infinite >>> length records and for some reason doesn't support continuations >either. >>> >>> IMHO it should just enable support for continuations, even if there >was a >>> reason not to enable them 15 years ago on AIX, I bet the debuggers >changed a >>> little bit even on that platform during that time. >>> >>> The other option is to add generic support for just throwing stabs >records >>> on the floor if they are too large and target doesn't want to >support >>> continuations (would be for AIX only), but in that case the target >at least >>> would need to hint what means too large. >> >> Yes, dropping them on the floor would be the solution. Not sure what >STABS >> defines as maximum record length on AIX. >> >> It should be the STABS and/or affected target maintainers job to get >this fixed >> for them. > >Richard, > >Even if the STABS continuations are fixed, it requires fixing it in >previous releases of GCC, deploying the solution and achieving >adoption. The current problem prevents linking of stage 1 cc1, >cc1plus, etc.
I am aware of this. But if GCC 5 were fixed stabs-wise then stage1 could be built with XLC or earlier GCC with -g0, no? >I am working through the STABS continuation issues on AIX, but it does >not solve the problem of the GCC 5 release functioning on AIX. Well, the earlier we fix it the better. Richard. >Thanks, David