Linux PARISC architecture development
 help / color / mirror / Atom feed
* gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
       [not found] <200207161812.g6GICDIp023677@hiauly1.hia.nrc.ca>
@ 2002-07-17 17:09 ` Joel Soete
  2002-07-17 17:13   ` John David Anglin
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Joel Soete @ 2002-07-17 17:09 UTC (permalink / raw)
  To: John David Anglin; +Cc: parisc-linux

Quoting John David Anglin <dave@hiauly1.hia.nrc.ca>:

> > > Your problem appears to be with arch/parisc/kernel/parisc_ksyms.c.
> > > It imports the symbol.
> > > 
> > 
> > Simply comment it out will broken to compile with gcc-3.0.x, I
> suppose?
> 
> I suspect that you can just delete
> 
>   extern void $$mulU(void);
> 
> and
> 
>   #ifndef __LP64__
>   EXPORT_SYMBOL_NOVERS($$mulU);
>   #endif
> 
> I didn't see any assembly usage of this function in linux and I don't
> believe gcc uses it (even 3.0.x), so probably the lines can just be
> deleted.
> 

To summarise:
This clean should be applied without problem (test with gcc-3.2 and gcc-3.0.4)

This allow me to produce an operational kernel with gcc-3.2 (bootstrap an x);
telnet, ftp and ssh connection OK

But with gcc-3.1.1 still crashing at the first remote connection?

I will try a more recent CVS update.

Joel




-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
  2002-07-17 17:09 ` gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?) Joel Soete
@ 2002-07-17 17:13   ` John David Anglin
  2002-07-17 17:30     ` joel.soete
  2002-07-17 17:32   ` Matthew Wilcox
  2002-07-18 17:43   ` joel.soete
  2 siblings, 1 reply; 9+ messages in thread
From: John David Anglin @ 2002-07-17 17:13 UTC (permalink / raw)
  To: Joel Soete; +Cc: parisc-linux

> But with gcc-3.1.1 still crashing at the first remote connection?

If 64-bit, this could be the tcp header alignment problem.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
  2002-07-17 17:13   ` John David Anglin
@ 2002-07-17 17:30     ` joel.soete
  0 siblings, 0 replies; 9+ messages in thread
From: joel.soete @ 2002-07-17 17:30 UTC (permalink / raw)
  To: John David Anglin; +Cc: Joel Soete, parisc-linux

Quoting John David Anglin <dave@hiauly1.hia.nrc.ca>:

> > But with gcc-3.1.1 still crashing at the first remote connection?
> 
> If 64-bit, this could be the tcp header alignment problem.
> 
Sorry it is on a 712 (32-bit)

Joel 


-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
  2002-07-17 17:09 ` gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?) Joel Soete
  2002-07-17 17:13   ` John David Anglin
@ 2002-07-17 17:32   ` Matthew Wilcox
  2002-07-17 17:44     ` joel.soete
  2002-07-18 17:43   ` joel.soete
  2 siblings, 1 reply; 9+ messages in thread
From: Matthew Wilcox @ 2002-07-17 17:32 UTC (permalink / raw)
  To: Joel Soete; +Cc: John David Anglin, parisc-linux

On Wed, Jul 17, 2002 at 07:09:54PM +0200, Joel Soete wrote:
> To summarise:
> This clean should be applied without problem (test with gcc-3.2 and gcc-3.0.4)
> 
> This allow me to produce an operational kernel with gcc-3.2 (bootstrap an x);
> telnet, ftp and ssh connection OK

but did you test modules?

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
  2002-07-17 17:32   ` Matthew Wilcox
@ 2002-07-17 17:44     ` joel.soete
  2002-07-17 18:10       ` Matthew Wilcox
  0 siblings, 1 reply; 9+ messages in thread
From: joel.soete @ 2002-07-17 17:44 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: Joel Soete, John David Anglin, parisc-linux

Quoting Matthew Wilcox <willy@debian.org>:

> On Wed, Jul 17, 2002 at 07:09:54PM +0200, Joel Soete wrote:
> > To summarise:
> > This clean should be applied without problem (test with gcc-3.2 and
> gcc-3.0.4)
> > 
> > This allow me to produce an operational kernel with gcc-3.2 (bootstrap
> an x);
> > telnet, ftp and ssh connection OK
> 
> but did you test modules?
> 
They were all together build with 'make oldconfig' after a distclean, so yes
with modules support. A monolithic test should be interesting? (I already do
this test for gcc-3.1 not 3.1.1 it does not bring success)

Joel



-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
  2002-07-17 17:44     ` joel.soete
@ 2002-07-17 18:10       ` Matthew Wilcox
  2002-07-18  6:15         ` joel.soete
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Wilcox @ 2002-07-17 18:10 UTC (permalink / raw)
  To: joel.soete; +Cc: Matthew Wilcox, John David Anglin, parisc-linux

On Wed, Jul 17, 2002 at 07:44:04PM +0200, joel.soete@freebel.net wrote:
> Quoting Matthew Wilcox <willy@debian.org>:
> > but did you test modules?
> They were all together build with 'make oldconfig' after a distclean, so yes
> with modules support. A monolithic test should be interesting? (I already do
> this test for gcc-3.1 not 3.1.1 it does not bring success)

build is not sufficient; the EXPORT_MODULE stuff can only be tested by
loading modules at runtime.

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
  2002-07-17 18:10       ` Matthew Wilcox
@ 2002-07-18  6:15         ` joel.soete
  2002-07-18 12:06           ` joel.soete
  0 siblings, 1 reply; 9+ messages in thread
From: joel.soete @ 2002-07-18  6:15 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: joel.soete, Matthew Wilcox, John David Anglin, parisc-linux

Quoting Matthew Wilcox <willy@debian.org>:

> On Wed, Jul 17, 2002 at 07:44:04PM +0200, joel.soete@freebel.net wrote:
> > Quoting Matthew Wilcox <willy@debian.org>:
> > > but did you test modules?
> > They were all together build with 'make oldconfig' after a distclean,
> so yes
> > with modules support. A monolithic test should be interesting? (I
> already do
> > this test for gcc-3.1 not 3.1.1 it does not bring success)
> 
> build is not sufficient; the EXPORT_MODULE stuff can only be tested by
> loading modules at runtime.


Is it just to test to load a module? (no relation with TCP problem?)

Joel



-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
  2002-07-18  6:15         ` joel.soete
@ 2002-07-18 12:06           ` joel.soete
  0 siblings, 0 replies; 9+ messages in thread
From: joel.soete @ 2002-07-18 12:06 UTC (permalink / raw)
  To: joel.soete
  Cc: Matthew Wilcox, joel.soete, Matthew Wilcox, John David Anglin,
	parisc-linux

Quoting joel.soete@freebel.net:

> Quoting Matthew Wilcox <willy@debian.org>:
> 
> > On Wed, Jul 17, 2002 at 07:44:04PM +0200, joel.soete@freebel.net
> wrote:
> > > Quoting Matthew Wilcox <willy@debian.org>:
> > > > but did you test modules?
> > > They were all together build with 'make oldconfig' after a
> distclean,
> > so yes
> > > with modules support. A monolithic test should be interesting? (I
> > already do
> > > this test for gcc-3.1 not 3.1.1 it does not bring success)
> > 
> > build is not sufficient; the EXPORT_MODULE stuff can only be tested
> by
> > loading modules at runtime.
> 
> 
> Is it just to test to load a module? (no relation with TCP problem?)
> 
> Joel
> 
Sorry for delay but I would like to re-compile some more modules. I just test
lvm-mod as well as nfs and nfsd. No problem: insmod, lsmod, rsmod works fine for
gcc-3.1.1 and for gcc-3.2. (do you know some problem with modules with those
release of gcc compiler?)

Joel



-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?)
  2002-07-17 17:09 ` gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?) Joel Soete
  2002-07-17 17:13   ` John David Anglin
  2002-07-17 17:32   ` Matthew Wilcox
@ 2002-07-18 17:43   ` joel.soete
  2 siblings, 0 replies; 9+ messages in thread
From: joel.soete @ 2002-07-18 17:43 UTC (permalink / raw)
  To: John David Anglin; +Cc: parisc-linux

Quoting Joel Soete <joel.soete@freebel.net>:

> Quoting John David Anglin <dave@hiauly1.hia.nrc.ca>:
> 
> > > > Your problem appears to be with
> arch/parisc/kernel/parisc_ksyms.c.
> > > > It imports the symbol.
> > > > 
> > > 
> > > Simply comment it out will broken to compile with gcc-3.0.x, I
> > suppose?
> > 
> > I suspect that you can just delete
> > 
> >   extern void $$mulU(void);
> > 
> > and
> > 
> >   #ifndef __LP64__
> >   EXPORT_SYMBOL_NOVERS($$mulU);
> >   #endif
> > 
> > I didn't see any assembly usage of this function in linux and I don't
> > believe gcc uses it (even 3.0.x), so probably the lines can just be
> > deleted.
> > 
> 
> To summarise:
> This clean should be applied without problem (test with gcc-3.2 and
> gcc-3.0.4)
> 
> This allow me to produce an operational kernel with gcc-3.2 (bootstrap
> an x);
> telnet, ftp and ssh connection OK
> 
> But with gcc-3.1.1 still crashing at the first remote connection?
> 
> I will try a more recent CVS update.

Same problem with the last CVS update today (20020718)

> 
> Joel
> 

PS: A new baby is ongoing to be born ? (2.5 :) or :( for 2.4)
I better understand on which important job Paul was working :)

-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-07-18 17:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200207161812.g6GICDIp023677@hiauly1.hia.nrc.ca>
2002-07-17 17:09 ` gcc-3.2 Ok gcc-3.1.1 Ko (was Re: [parisc-linux] gcc-3.2 bootstrap?) Joel Soete
2002-07-17 17:13   ` John David Anglin
2002-07-17 17:30     ` joel.soete
2002-07-17 17:32   ` Matthew Wilcox
2002-07-17 17:44     ` joel.soete
2002-07-17 18:10       ` Matthew Wilcox
2002-07-18  6:15         ` joel.soete
2002-07-18 12:06           ` joel.soete
2002-07-18 17:43   ` joel.soete

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox