All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Dolbeau <dolbeau@irisa.fr>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: Trouble compiling 2.5.30 on old powermac
Date: Fri, 09 Aug 2002 10:40:02 +0200	[thread overview]
Message-ID: <3D537FE2.932524E@irisa.fr> (raw)
In-Reply-To: 20020806124542.24275@192.168.4.1


Benjamin Herrenschmidt wrote:

> >2) arch/ppc/kernel/process.c fails with:
[snip]
> That's a new one. Paulus ? Incorrect merge ? Missing include ?

This one seems fixed now, the kernel only fails at link time:

#####
make[2]: Leaving directory `/usr/src/linuxppc-2.5/init'
  ld  -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o init/init.o --start-group arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o
security/built-in.o arch/ppc/xmon/x.o lib/lib.a drivers/built-in.o sound/sound.o net/network.o --end-group -o vmlinux
drivers/built-in.o: In function `do_adb_reset_bus':
drivers/built-in.o(.text+0x4c4a0): undefined reference to `save_flags'
drivers/built-in.o(.text+0x4c4a0): relocation truncated to fit: R_PPC_REL24 save_flags
drivers/built-in.o(.text+0x4c4a4): undefined reference to `cli'
drivers/built-in.o(.text+0x4c4a4): relocation truncated to fit: R_PPC_REL24 cli
drivers/built-in.o(.text+0x4c4c0): undefined reference to `restore_flags'
drivers/built-in.o(.text+0x4c4c0): relocation truncated to fit: R_PPC_REL24 restore_flags
drivers/built-in.o: In function `videodev_exit':
drivers/built-in.o(.text.exit+0xd8): undefined reference to `videodev_proc_destroy'
drivers/built-in.o(.text.exit+0xd8): relocation truncated to fit: R_PPC_REL24 videodev_proc_destroy
[skip a few more related to pm3fb]
#####

videodev_exit might come from the non-essential planb
driver (video input), but the ADB bus is pretty much
mandatory on a 7500 (in particular when no serial
console is available :-)

isn't the save_flags/cli/restore_flags supposed to be
local_irq_save/local_irq_restore(flags) now ? (curious,
as I had a save_flags in pm3fb...)

Thanks in advance for any help,

--
DOLBEAU Romain               | For a hill, men would kill,
ENS Cachan / Ker Lann        |   Why ? They do not know.
Thesard IRISA / CAPS         |      -- Metallica,
dolbeaur@club-internet.fr    |       'For Whom The Bell Tolls'

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2002-08-09  8:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-06 12:17 Trouble compiling 2.5.30 on old powermac Romain Dolbeau
2002-08-06 12:45 ` Benjamin Herrenschmidt
2002-08-09  8:40   ` Romain Dolbeau [this message]

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=3D537FE2.932524E@irisa.fr \
    --to=dolbeau@irisa.fr \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.