linux-mips
[Top] [All Lists]

Re: mips64 cpu-probe.c compile failure

To: macro@ds2.pg.gda.pl
Subject: Re: mips64 cpu-probe.c compile failure
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu, 18 Sep 2003 23:22:02 +0900 (JST)
Cc: linux-mips@linux-mips.org
In-reply-to: <Pine.GSO.3.96.1030918121138.15508B-100000@delta.ds2.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030918.180536.08320519.nemoto@toshiba-tops.co.jp> <Pine.GSO.3.96.1030918121138.15508B-100000@delta.ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Thu, 18 Sep 2003 12:17:54 +0200 (MET DST), "Maciej W. Rozycki" 
>>>>> <macro@ds2.pg.gda.pl> said:

macro>  I wanted to avoid that as the resulting code would be ugly.  I
macro> guess there is no other choice, although I think that's a bug
macro> in gcc.

I have no idea that is a gcc bug, but I think align_mod() inline
function is not so beautiful because it can not be compiled anyway if
non-constant value was passed.

macro>  Can you quote the exact command line used for building the
macro> file?

mips64el-linux-gcc -D__KERNEL__ -I/home/anemo/work/linux/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -I /home/anemo/work/linux/include/asm/gcc -mabi=64 -G 0 
-mno-abicalls -fno-pic -Wa,--trap -pipe  -march=r4600   -nostdinc -iwithprefix 
include -DKBUILD_BASENAME=cpu_probe  -c -o cpu-probe.o cpu-probe.c

I also tried with -finline-limit=100000 but no luck.

Does this help?

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>