public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: "Chris Friesen" <cfriesen@nortel•com>
To: linuxppc-dev@ozlabs•org, roland@redhat•com, paulus@samba•org,
	benh@kernel•crashing.org
Subject: patch to install unstripped vDSO on disk breaks powerpc kernel build
Date: Fri, 09 May 2008 11:16:39 -0600	[thread overview]
Message-ID: <482486F7.3090805@nortel.com> (raw)

I'm using gcc 3.4.3 and binutils 2.15.92.0.2.  I originally saw the 
following problem in 2.6.25 but it's present in git head as well:

   CALL /home/cfriesen/kernels/2.6.25/linux-2.6.25/scripts/checksyscalls.sh
   CHK     include/linux/compile.h
   CALL 
/home/cfriesen/kernels/2.6.25/linux-2.6.25/arch/powerpc/kernel/systbl_chk.sh
   AS      arch/powerpc/kernel/systbl.o
   OBJCOPY arch/powerpc/kernel/vdso64/vdso64.so
BFD: arch/powerpc/kernel/vdso64/vdso64.so: The first section in the 
PT_DYNAMIC segment is not the .dynamic section
/home/cfriesen/bin/ppc64-R9a/bin/ppc64-R9a-objcopy: 
arch/powerpc/kernel/vdso64/vdso64.so: Bad value
BFD: arch/powerpc/kernel/vdso64/vdso64.so: The first section in the 
PT_DYNAMIC segment is not the .dynamic section
/home/cfriesen/bin/ppc64-R9a/bin/ppc64-R9a-objcopy: 
arch/powerpc/kernel/vdso64/vdso64.so: Bad value
make[3]: *** [arch/powerpc/kernel/vdso64/vdso64.so] Error 1
make[2]: *** [arch/powerpc/kernel/vdso64] Error 2
make[1]: *** [arch/powerpc/kernel] Error 2
make: *** [sub-make] Error 2



I installed git and bisected the problem.  It turns out that it's due to 
the following commit:


commit 8150caad02266623b5b9f58088d589f130fccd97
Author: Roland McGrath <roland@redhat•com>
Date:   Tue Oct 2 13:30:04 2007 -0700

[POWERPC] powerpc vDSO: install unstripped copies on disk
This keeps an unstripped copy of the vDSO images built before they are 
stripped and embedded in the kernel.  The unstripped copies get 
installed in $(MODLIB)/vdso/ by "make install".  These files can be 
useful when they contain source-level debugging information.

     Signed-off-by: Roland McGrath <roland@redhat•com>
     Cc: Sam Ravnborg <sam@ravnborg•org>
     Cc: Benjamin Herrenschmidt <benh@kernel•crashing.org>
     Signed-off-by: Andrew Morton <akpm@linux-foundation•org>
     Signed-off-by: Paul Mackerras <paulus@samba•org>



Anyone have any idea what's going on?


Thanks,

Chris

             reply	other threads:[~2008-05-09 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09 17:16 Chris Friesen [this message]
2008-05-09 19:44 ` patch to install unstripped vDSO on disk breaks powerpc kernel build Roland McGrath
2008-05-10  4:43   ` Chris Friesen
2008-05-11  0:40     ` Roland McGrath
2008-05-21 22:12       ` Chris Friesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=482486F7.3090805@nortel.com \
    --to=cfriesen@nortel$(echo .)com \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    --cc=roland@redhat$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox