* Re: prototyping
@ 1997-08-17 21:55 H.J. Lu
1997-08-17 22:18 ` prototyping Jeffrey A Law
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: H.J. Lu @ 1997-08-17 21:55 UTC (permalink / raw)
To: egcs
>
> In message <m0x0C8V-0004ecC@ocean.lucon.org>you write:
> > >
> > > In message <m0x07ER-0004ecC@ocean.lucon.org>you write:
> > > > I am thinking the other way around since I have removed those
> > > > incomplete external function declarations in .c files, using the
> > > > ones in .h files instead. I will first send in patches for .h files,
> > > > then .c files.
> > > That's just as good of a place to start.
> > >
> >
> > It dosen't work very well.
> I don't see why.
>
> Go into a .c file, remove all the prototypes for extern things and
> put them into an appropriate .h file. Remove all other prototypes
> for those same things from other .c files.
>
It is not that simple. gcc is not designed with prototyping in mind.
It is kind of screwed up in that regard. A simple example, try to
prototype expand_expr () and you will see what I mean. It is just
the beginning :-).
I will see what I can do.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: prototyping
1997-08-17 21:55 prototyping H.J. Lu
@ 1997-08-17 22:18 ` Jeffrey A Law
1997-08-17 22:21 ` Test result for 970814 on native sparc-sun-solaris2.5.1 Alexandre Oliva
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1997-08-17 22:18 UTC (permalink / raw)
To: egcs
In message <m0x0DZq-0004ecC@ocean.lucon.org>you write:
> It is not that simple. gcc is not designed with prototyping in mind.
> It is kind of screwed up in that regard. A simple example, try to
> prototype expand_expr () and you will see what I mean. It is just
> the beginning :-).
Then skip those which are "hard" during the first pass.
At this stage it doesn't have to be 100% complete -- if we get proper
prototypes in for the majority of the functions, then we've made
significant progress.
You can then go back and work on the harder ones such as expand_expr.
Doing it this way will also mean that it'll be easier to review the
harder ones like expand_expr later.
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Test result for 970814 on native sparc-sun-solaris2.5.1
1997-08-17 21:55 prototyping H.J. Lu
1997-08-17 22:18 ` prototyping Jeffrey A Law
@ 1997-08-17 22:21 ` Alexandre Oliva
1997-08-17 23:29 ` f/zzz.o comparison failures Jeffrey A Law
1997-08-18 1:03 ` Test result for 970814 on native sparc-sun-solaris2.5.1 Jeffrey A Law
3 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 1997-08-17 22:21 UTC (permalink / raw)
To: egcs
mrs@wrs.com (Mike Stump) writes:
> Normally, I don't think we should pollute up a list like this one with
> testresults, but since we have a first snapshot, I thought I would do
> one:
Maybe we could post them to the egcs-bugs list. After all, errors
detected by testsuites are bugs either in egcs or in the testsuite (or
in both! :-)
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 5+ messages in thread
* f/zzz.o comparison failures
1997-08-17 21:55 prototyping H.J. Lu
1997-08-17 22:18 ` prototyping Jeffrey A Law
1997-08-17 22:21 ` Test result for 970814 on native sparc-sun-solaris2.5.1 Alexandre Oliva
@ 1997-08-17 23:29 ` Jeffrey A Law
1997-08-18 1:03 ` Test result for 970814 on native sparc-sun-solaris2.5.1 Jeffrey A Law
3 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1997-08-17 23:29 UTC (permalink / raw)
To: egcs
Some of you have experienced comparison failures for f/zzz.o when
performing a 3-stage bootstrap of egcs.
This is due to a date and time stamp in f/zzz.o and can be safely
ignored.
The next snapshot will not have comparison failures for f/zzz.o.
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Test result for 970814 on native sparc-sun-solaris2.5.1
1997-08-17 21:55 prototyping H.J. Lu
` (2 preceding siblings ...)
1997-08-17 23:29 ` f/zzz.o comparison failures Jeffrey A Law
@ 1997-08-18 1:03 ` Jeffrey A Law
3 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1997-08-18 1:03 UTC (permalink / raw)
To: egcs
In message <9708171708.AA03535@modi.xraylith.wisc.edu>you write:
> btw, static template data members are not being instantiated breaking SGI
> STL in libg++-2.8.0b6 (the allocator in particular).
I assume you're referring to the libstdc++ tests right? Do you get an
error like:
/usr/ccs/bin/ld: Unsatisfied symbols:
__default_alloc_template<false, 0>::end_free(data)
__default_alloc_template<false, 0>::heap_size(data)
__default_alloc_template<false, 0>::free_list(data)
__default_alloc_template<false, 0>::start_free(data)
> Also, I'm getting a
> core dump when compiling libstdc++ tests when compiling with '-g -O2', but
> with -g.
I was able to get libstdc++ in 2.8.0b6 built using egcs.
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-08-18 1:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-17 21:55 prototyping H.J. Lu
1997-08-17 22:18 ` prototyping Jeffrey A Law
1997-08-17 22:21 ` Test result for 970814 on native sparc-sun-solaris2.5.1 Alexandre Oliva
1997-08-17 23:29 ` f/zzz.o comparison failures Jeffrey A Law
1997-08-18 1:03 ` Test result for 970814 on native sparc-sun-solaris2.5.1 Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).