Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] RE: Dump module patche.
       [not found] <3EB8AF58.7040900@admin.france.hp.com>
@ 2003-05-14 11:47 ` Joel Soete
  2003-05-14 18:01   ` John David Anglin
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Soete @ 2003-05-14 11:47 UTC (permalink / raw)
  To: Bruno Vidal, Grant Grundler; +Cc: parisc-linux

Hi Bruno,

>
>Attachment: dump_modules-2.4.20-pa32.patch2
>
I apply it against last 2.4.20-pa35 (do not have any more pa22 :( ) (just
2 hunk to remove). Unfortunately it failed to compile with following message:
`gcc-3.0 -print-libgcc-file-name` /usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/arch/parisc/lib/lib.a
/usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/lib/lib.a  \
	--end-group \
	-o vmlinux
fs/fs.o(.debug_info+0x6fbaf): undefined reference to `.L1225'
make: *** [vmlinux] Error 1

(Sorry I already met this kind of pb but do not remember how to solve :()

Thanks for your undertand,
    Joel

PS: No more support of compression (I tried libz2 but it do not found some
object at ld time)?

---------------------------------
Vous surfez avec une ligne classique ?
Economisez jusqu'à 25% avec Tiscali Complete !
Offre spéciale : première année d'abonnement offerte.
... Plus d'info sur http://complete.tiscali.be

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

* Re: [parisc-linux] RE: Dump module patche.
  2003-05-14 11:47 ` Joel Soete
@ 2003-05-14 18:01   ` John David Anglin
  2003-05-15 14:38     ` Joel Soete
  0 siblings, 1 reply; 7+ messages in thread
From: John David Anglin @ 2003-05-14 18:01 UTC (permalink / raw)
  To: Joel Soete; +Cc: bruno_vidal, grundler, parisc-linux

> >Attachment: dump_modules-2.4.20-pa32.patch2
> >
> I apply it against last 2.4.20-pa35 (do not have any more pa22 :( ) (just
> 2 hunk to remove). Unfortunately it failed to compile with following message:
> `gcc-3.0 -print-libgcc-file-name` /usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/arch/parisc/lib/lib.a
> /usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/lib/lib.a  \
> 	--end-group \
> 	-o vmlinux
> fs/fs.o(.debug_info+0x6fbaf): undefined reference to `.L1225'
> make: *** [vmlinux] Error 1
> 
> (Sorry I already met this kind of pb but do not remember how to solve :()

At first glance, this would appear to be a GCC bug.  If I was to guess,
it's a problem with a label for a jump table being deleted.

You might be able to avoid the problem by compiling fs.o with a different
optimization.  The problem could be investigated further by generating
the assember output for the routine with -g.  Search for the above label.
The debug information in the file will allow finding the source line.

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

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

* Re: [parisc-linux] RE: Dump module patche.
  2003-05-14 18:01   ` John David Anglin
@ 2003-05-15 14:38     ` Joel Soete
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Soete @ 2003-05-15 14:38 UTC (permalink / raw)
  To: John David Anglin; +Cc: bruno_vidal, grundler, parisc-linux

Dave,

>
>
>> >Attachment: dump_modules-2.4.20-pa32.patch2
>> >
>> I apply it against last 2.4.20-pa35 (do not have any more pa22 :( ) (just
>> 2 hunk to remove). Unfortunately it failed to compile with following message:
>> `gcc-3.0 -print-libgcc-file-name` /usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/arch/parisc/lib/lib.a
>> /usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/lib/lib.a  \
>> 	--end-group \
>> 	-o vmlinux
>> fs/fs.o(.debug_info+0x6fbaf): undefined reference to `.L1225'
>> make: *** [vmlinux] Error 1
>> 
>> (Sorry I already met this kind of pb but do not remember how to solve
:()
>
>At first glance, this would appear to be a GCC bug.  If I was to guess,
>it's a problem with a label for a jump table being deleted.

I will try gcc-3.2 (or later) because

>
>You might be able to avoid the problem by compiling fs.o with a different
>optimization.  The problem could be investigated further by generating
>the assember output for the routine with -g.  Search for the above label.
>The debug information in the file will allow finding the source line.
>

fs.o is in fact a lib build with "ld -r -o fs.o open.o read_rite.o [...]"

and 'objdump -d fs.o' do not actualy help me to find back any above references
:(

Thanks,
    Joel


---------------------------------
Vous surfez avec une ligne classique ?
Economisez jusqu'à 25% avec Tiscali Complete !
Offre spéciale : première année d'abonnement offerte.
... Plus d'info sur http://complete.tiscali.be

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

* Re: [parisc-linux] RE: Dump module patche.
       [not found] <3EC0FF2300000909@ocpmta7.freegates.net>
@ 2003-05-15 14:46 ` Joel Soete
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Soete @ 2003-05-15 14:46 UTC (permalink / raw)
  To: Bruno Vidal; +Cc: parisc-linux

Bruno,
>
>>
>>sorry, I don't remember this kind of error...did you try make mrproper
???
>>
>>
>I think so as I prefer distclean?
>
>umm 2.4.20-pa32 is still available in ftp.p-l.org:/cvs so I will first grab
>it and apply patch. Then comeback to you :)
>
It didn't help so I have to come back to you with severall questions:

A. what is your compiler release gcc 3.0 3.2 3.3?

B. I suspect also a different .config: may I ask your to compare with mine?

Thanks again,
    Joel


---------------------------------
Vous surfez avec une ligne classique ?
Economisez jusqu'à 25% avec Tiscali Complete !
Offre spéciale : première année d'abonnement offerte.
... Plus d'info sur http://complete.tiscali.be

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

* Re: [parisc-linux] RE: Dump module patche.
       [not found] <3EC3A988.4070807@hp.com>
@ 2003-05-15 16:36 ` Joel Soete
  2003-05-15 16:55   ` Joel Soete
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Soete @ 2003-05-15 16:36 UTC (permalink / raw)
  To: Bruno Vidal; +Cc: parisc-linux

>
>gcc version 3.0.4
>
>
>Joel Soete wrote:
>> Bruno,
>> 
>>>>sorry, I don't remember this kind of error...did you try make mrproper
>>>
>> ???
>> 
>>>>
>>>I think so as I prefer distclean?
>>>
>>>umm 2.4.20-pa32 is still available in ftp.p-l.org:/cvs so I will first
>grab
>>>it and apply patch. Then comeback to you :)
>>>
>> 
>> It didn't help so I have to come back to you with severall questions:
>> 
>> A. what is your compiler release gcc 3.0 3.2 3.3?
>> 
>> B. I suspect also a different .config: may I ask your to compare with
mine?
>> 
>
>Attachment: config
>
Well very very different from mine I will so test also on my b2k (but in
32bits and 64bits).

in the mean time I reach to build a kernel 2.4.21-pa32 with gcc-3.2 but I
forget the __c_f_f_c pb so it crash imedieately, I will so go test 2.4.21-pa35
with your patch.

See you later,
    Joel


---------------------------------
Vous surfez avec une ligne classique ?
Economisez jusqu'à 25% avec Tiscali Complete !
Offre spéciale : première année d'abonnement offerte.
... Plus d'info sur http://complete.tiscali.be

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

* Re: [parisc-linux] RE: Dump module patche.
  2003-05-15 16:36 ` Joel Soete
@ 2003-05-15 16:55   ` Joel Soete
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Soete @ 2003-05-15 16:55 UTC (permalink / raw)
  To: Bruno Vidal; +Cc: parisc-linux

Sorry ,

>in the mean time I reach to build a kernel 2.4.21-pa32 with gcc-3.2 but
I
>forget the __c_f_f_c pb so it crash imedieately, I will so go test 2.4.21-pa35
>with your patch.

read 2.4.20...

    Joel


---------------------------------
Vous surfez avec une ligne classique ?
Economisez jusqu'à 25% avec Tiscali Complete !
Offre spéciale : première année d'abonnement offerte.
... Plus d'info sur http://complete.tiscali.be

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

* Re: [parisc-linux] RE: Dump module patche.
@ 2003-05-20 12:19 Joel Soete
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Soete @ 2003-05-20 12:19 UTC (permalink / raw)
  To: Bruno Vidal; +Cc: parisc-linux

>gcc version 3.0.4
>
>
>Joel Soete wrote:
>> Bruno,
>>
>>>>sorry, I don't remember this kind of error...did you try make mrproper
>>>
>> ???
>>
>>>>
>>>I think so as I prefer distclean?
>>>
>>>umm 2.4.20-pa32 is still available in ftp.p-l.org:/cvs so I will first
>grab
>>>it and apply patch. Then comeback to you :)
>>>
>>
>> It didn't help so I have to come back to you with severall questions:
>>
>> A. what is your compiler release gcc 3.0 3.2 3.3?
>>
>> B. I suspect also a different .config: may I ask your to compare with
mine?
>>
Hi Bruno,

Continuing my investigation, I reach now (with some known modif) to compile
the kernel with your patch and gcc-3.3 (as it seems that it became the
default in unstable) but to reach to compile dump_lbz2 (as static builtin)
i had to change following stuff into driver/dump/Makefile:

--- Makefile.orig	2003-05-20 14:50:46.000000000 +0200
+++ Makefile	2003-05-20 12:58:43.000000000 +0200
@@ -6,6 +6,7 @@
 # the dump directory.
 #

+O_TARGET        :=      dumpdrv.o
 export-objs	:=	dump_base.o

 list-multi	:=	dump.o
@@ -34,7 +35,8 @@
 	dump-objs		+= dump_parisc.o
 endif

+include $(TOPDIR)/Rules.make
+
 dump.o:	$(dump-objs)
 	$(LD) -r -o $@ $(dump-objs)

-include $(TOPDIR)/Rules.make

I do not realy understand make :(

Thanks for advise,
    Joel



---------------------------------
Vous surfez avec une ligne classique ?
Economisez jusqu'à 25% avec Tiscali Complete !
Offre spéciale : première année d'abonnement offerte.
... Plus d'info sur http://complete.tiscali.be

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

end of thread, other threads:[~2003-05-20 12:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3EC0FF2300000909@ocpmta7.freegates.net>
2003-05-15 14:46 ` [parisc-linux] RE: Dump module patche Joel Soete
2003-05-20 12:19 Joel Soete
     [not found] <3EC3A988.4070807@hp.com>
2003-05-15 16:36 ` Joel Soete
2003-05-15 16:55   ` Joel Soete
     [not found] <3EB8AF58.7040900@admin.france.hp.com>
2003-05-14 11:47 ` Joel Soete
2003-05-14 18:01   ` John David Anglin
2003-05-15 14:38     ` Joel Soete

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