mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: mirabilos <eccesys@topmail.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: latest-ac9 compile error (gcc3)
Date: Mon, 14 May 2001 21:07:15 MET-1	[thread overview]
Message-ID: <2E9088314A3@vcnet.vc.cvut.cz> (raw)

On 14 May 01 at 20:38, mirabilos wrote:

> I have removed the "inline" in rwsem.h as suggested, and now
> can't compile -ac9 with the following error (seems to be a
> problem in the part that loads the compressed image):

> misc.o(.text.lock+0xa): undefined reference to `rwsem_wake'

You cannot remove inline from there. For some unknown reason even
if you'll mark it as 'static', gcc3 will still emit this code into object
file. You have to change constraint from "+d" to "+r" (with
changing %edx => %0 and adding push %edx around call to rwsemwake), or
just rewrite it in the way __up_write operates (movl %2,%%edx, add
"edx" into clobbered and %2 as value assigned to tmp, patch sent last week).
 
> Compiler: gcc3-snapshot 14.5.2001

Pre-26th snapshots have some fatal bug in optimizing 
if (x) a = 123; else a = 456; :-( Look back through linux-kernel archive.
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz


             reply	other threads:[~2001-05-14 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-14 21:07 Petr Vandrovec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-14 18:38 mirabilos

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=2E9088314A3@vcnet.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=eccesys@topmail.de \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®