Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 20:46:13 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        ports@freebsd.org
Subject:   CFLAGS + configure strangeness
Message-ID:  <200603192046.21953.doconnor@gsoft.com.au>

next in thread | raw e-mail | index | archive | help
--nextPart5378644.QfWu1vbDJB
Content-Type: multipart/mixed;
  boundary="Boundary-01=_u9SHE/rU60QduOA"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_u9SHE/rU60QduOA
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
I'm trying to make a port of the m68hc11/12 GDB but I am getting the follow=
ing error when building..
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in m68hc11
configure: running /bin/sh '../.././sim/m68hc11/configure' --prefix=3D/usr/=
local  '--cache-file=3D./config.cache' '--build=3Di386-portbld-freebsd7.0' =
'--host=3Di386-portbld-freebsd7.0' '--target=3Dm68hc11-elf' '--disable-nls'=
 '--prefix=3D/usr/local' '--program-transform-name=3Ds,^,m6811-elf,; ' '--s=
rcdir=3D.././sim' 'LDFLAGS=3D' 'CFLAGS=3D-O2 -fno-strict-aliasing -pipe ' '=
host_alias=3Di386-portbld-freebsd7.0' 'build_alias=3Di386-portbld-freebsd7.=
0' 'target_alias=3Dm68hc11-elf' 'CC=3Dcc' --cache-file=3D.././config.cache =
=2D-srcdir=3D../.././sim/m68hc11
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -fno-strict-aliasing -pipe
configure:   current value: -O2 -fno-strict-aliasing -pipe
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and st=
art over
configure: error: /bin/sh '../.././sim/m68hc11/configure' failed for m68hc11
gmake[1]: *** [configure-sim] Error 1
gmake[1]: Leaving directory `/usr/tmp/work/usr/home/darius/projects/m6812/m=
6811-gdb/work/gdb-6.4'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/home/darius/projects/m6812/m6811-gdb.

If I just run make again it all works..

I've attached the makefile.

If I build it by hand it works fine.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--Boundary-01=_u9SHE/rU60QduOA--

--nextPart5378644.QfWu1vbDJB
Content-Type: application/pgp-signature

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

iD8DBQBEHS915ZPcIHs/zowRAnh8AJ97otnNw/UYn8TikHpMh14balsDsACfapMm
zZrdvYhrbzkEsW3YhollZWw=
=WOuC
-----END PGP SIGNATURE-----

--nextPart5378644.QfWu1vbDJB--



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