mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Meelis Roos <mroos@linux.ee>
To: Linux Kernel list <linux-kernel@vger.kernel.org>, sfr@canb.auug.org.au
Subject: 2.4 compile errors in 32-bit sys_revcmsg fixes
Date: Tue, 22 Feb 2005 11:48:31 +0200 (EET)	[thread overview]
Message-ID: <Pine.SOC.4.61.0502221140040.6097@math.ut.ee> (raw)

This is todays 2.4.30-pre1+BK snapshot on a sparc64:

gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/mroos/compile/linux-2.4/include -m64 -mcpu=ultrasparc -Wa,--undeclared-regs -ansi  -c -o sys32.o sys32.S
gcc -D__KERNEL__ -I/home/mroos/compile/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -finline-limit=100000   -nostdinc -iwithprefix include -DKBUILD_BASENAME=sys_sparc32  -c -o 
sys_sparc32.o sys_sparc32.c
sys_sparc32.c: In function `cmsg32_recvmsg_fixup':
sys_sparc32.c:2683: error: called object is not a function
make[1]: *** [sys_sparc32.o] Error 1

The lines in question are
if ((clen64 < CMSG_ALIGN(sizeof(*ucmsg)))
                  (clen64 > (orig_cmsg_len + wp - workbuf))) {

Is a "||" missing, or something else?

It appears the same lines are in most fixed architectures so probably 
more architectures don't compile.

-- 
Meelis Roos (mroos@linux.ee)

             reply	other threads:[~2005-02-22  9:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-22  9:48 Meelis Roos [this message]
2005-02-22 12:27 ` Stephen Rothwell

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=Pine.SOC.4.61.0502221140040.6097@math.ut.ee \
    --to=mroos@linux.ee \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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®