public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Larry Doolittle <ldoolitt@recycle.lbl.gov>
To: linux-mtd@lists.infradead.org
Subject: undefined reference to `__put_user_bad' in `mtdblock_ioctl', arch=ARM
Date: Wed, 26 Sep 2001 10:52:17 -0700	[thread overview]
Message-ID: <20010926105217.A29296@recycle.lbl.gov> (raw)

Building the CVS version of MTD, embedded within
linux-2.4.9-ac9-rmk1-np1 for StrongARM using gcc-2.95.3,
I get:

drivers/mtd/mtdlink.o: In function `mtdblock_ioctl':
drivers/mtd/mtdlink.o(.text+0xadcc): undefined reference to `__put_user_bad'
drivers/mtd/mtdlink.o(.text+0xadcc): relocation truncated to fit: R_ARM_PC24 __p
ut_user_bad
make: *** [vmlinux] Error 1

It appears as if mtdblock_ioctl() in drivers/mtd/mtdblock.c, faced with
the case BLKGETSIZE64, does a put_user() of a 64-bit number.  Eight-byte
put_user()'s are not supported on ARM or x86.
    (ref: include/asm-{arm,i386}/uaccess.h, macro __put_user_size)

Whazzup?

      - Larry

             reply	other threads:[~2001-09-26 17:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-26 17:52 Larry Doolittle [this message]
2001-09-26 18:00 ` undefined reference to `__put_user_bad' in `mtdblock_ioctl', arch=ARM David Woodhouse

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=20010926105217.A29296@recycle.lbl.gov \
    --to=ldoolitt@recycle.lbl.gov \
    --cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox