Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 23:38:14 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        ia64@FreeBSD.org
Subject:   Re: Help needed cleaning up sys/boot/{efi,ia64}/ makefiles
Message-ID:  <20040212213814.GG67147@FreeBSD.org.ua>
In-Reply-To: <20040212173300.GA90691@ns1.xcllnt.net>
References:  <20040211142549.GA52347@FreeBSD.org.ua> <20040212055048.GA2975@dhcp01.pn.xcllnt.net> <20040212091851.GA63369@FreeBSD.org.ua> <20040212173300.GA90691@ns1.xcllnt.net>

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

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

On Thu, Feb 12, 2004 at 09:33:00AM -0800, Marcel Moolenaar wrote:
> On Thu, Feb 12, 2004 at 11:18:51AM +0200, Ruslan Ermilov wrote:
> >=20
> > > Anyway, I cannot reproduce what you're seeing. The differences I get
> > > are irrelevant (like timestamps or padding).
> > >=20
> > > > So I have a few questions:
> > > >=20
> > > > - Why the hell removing -M from linker flags (both in unpatched and
> > > >   patched versions of makefiles) seems to affect the loader.sym bin=
ary?
> > >=20
> > > Are you sure this is what's going on? I don't see what you're seeing.
> > > The use of -M does not affect the output, AFAICT.
> > >=20
> > Yes, I'm sure.  I have now committed my patch (thanks for testing), and
> > if I now apply this patch to not generate loader.list:
> [snip]
>=20
> Ok, I'll sync up with what you committed and look into this some
> more. Note that your list of files that differ contain .a, .o and
> .c files. The .c and .o differences are explanable, but I don't
> see how a linker flag affects .a files. There's no linking involved
> anywhere. Please make sure your comparison is untainted.
>=20
The .a files get only timestamp differences that don't contribute
to differences after linking.

> > And by the way, as it turns out, just putting -Wl,-V to the start
> > of LDFLAGS (while preserving all other flags) also affects the
> > output, and gives
> >=20
> > $ cmp -l obj*/q/scratch/ru/src/sys/boot/efi/loader/loader.sym | wc -l
> >     9266
> >=20
> > on pluto2.  FWIW, sys/boot/alpha/ makefiles also generated map tables,
> > and taking -M out of LDFLAGS or otherwise changing them in insignificant
> > way did not affect the output like this.
>=20
> I think something fishy is going on on pluto2.
>=20
I will re-check on pluto1.


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

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

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

iD8DBQFAK/JGUkv4P6juNwoRAve0AJ9zgtgCH+lVN+emAMtdpqZeIMSddACfUNGi
WVdGpoxFxI6/W3SDQdIXu9M=
=z98t
-----END PGP SIGNATURE-----

--uc35eWnScqDcQrv5--


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