Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2006 09:24:39 +0400
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        stable@freebsd.org
Subject:   Re: RELENG_6/amd64 buildworld error
Message-ID:  <20061006052439.GC63381@rambler-co.ru>
In-Reply-To: <20061006020210.J70310@woozle.rinet.ru>
References:  <20061006020210.J70310@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--w7PDEPdKQumQfZlR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 06, 2006 at 02:02:27AM +0400, Dmitry Morozovsky wrote:
>=20
> Hi there colleagues
>=20
> am I the only one who got the following error?=20
>=20
> =3D=3D=3D> sbin/geom/class/mirror (all)
> cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dopteron=20
> -I/usr/src/sbin/geom/class/mirror/../..=20
> -I/usr/src/sbin/geom/class/mirror/../../../../sys -Wsystem-headers -Werro=
r=20
> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes=20
> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-st=
rings=20
> -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winl=
ine=20
> -Wnested-externs -Wredundant-decls -c=20
> /usr/src/sbin/geom/class/mirror/geom_mirror.c -o geom_mirror.So
> /usr/src/sbin/geom/class/mirror/geom_mirror.c: In function `mirror_main':
> /usr/src/sbin/geom/class/mirror/../../../../sys/geom/mirror/g_mirror.h:37=
4:=20
> warning: inlining failed in call to 'mirror_metadata_decode': --param=20
> max-inline-insns-single limit reached after inlining into the callee
> /usr/src/sbin/geom/class/mirror/geom_mirror.c:310: warning: called from h=
ere
> /usr/src/sbin/geom/class/mirror/../../../../sys/geom/mirror/g_mirror.h:37=
4:=20
> warning: inlining failed in call to 'mirror_metadata_decode': --param=20
> max-inline-insns-single limit reached after inlining into the callee
> /usr/src/sbin/geom/class/mirror/geom_mirror.c:346: warning: called from h=
ere
>=20
It I go into sbin/geom/class/mirror and compile it like this:

make DEBUG_FLAGS=3D"-I/usr/src/sbin/geom/class/mirror/../../../../sys"

I also get this error.  The question is why you have this -I added.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--w7PDEPdKQumQfZlR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFJeiXqRfpzJluFF4RAj0GAJ9+n4Psk8Na+VUodcZWk1q5BzzirACeIyi6
D4STIGoLguNIji9ADlUtfCs=
=c9Xo
-----END PGP SIGNATURE-----

--w7PDEPdKQumQfZlR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061006052439.GC63381>