[OpenAFS-devel] Re: [RFC] splitting out CRULE_TARGET from libafs/Makefile.common

Derrick Brashear shadow@gmail.com
Mon, 27 Jun 2011 14:04:18 -0400


On Mon, Jun 27, 2011 at 1:24 PM, Andrew Deason <adeason@sinenomine.net> wro=
te:
> On Mon, 27 Jun 2011 10:14:52 -0700
> Russ Allbery <rra@stanford.edu> wrote:
>
>> Russ Allbery <rra@stanford.edu> writes:
>>
>> > That would be new. =A0Maybe someone tightened up the build system sinc=
e
>> > the last time I looked. =A0Previously, we just dumped -fPIC into the
>> > generic compiler flags on those platforms in src/cf/osconf.m4 because
>> > figuring out how to build the libraries separately was too hard.

i don't remember that. was it debian-only? the solution we had should
have involved a second build pass involving CCOBJ override.

>> alpha, arm, amd64, and s390x work the way that I remember still, so
>> far as I can tell. =A0ia64, i386, parisc, ppc, ppc64, s390, and sparc do
>> not.
>
> I don't see it on amd64 buildbots on all invocations:
>
> gcc =A0 -O =A0 -I/home/buildbot/slave1/rhel6-x86_64-builder/build/src/con=
fig
> -I/home/buildbot/slave1/rhel6-x86_64-builder/build/include -I. -I.
> -DRXDEBUG -DFSSYNC_BUILD_SERVER -DSALVSYNC_BUILD_CLIENT
> -DAFS_DEMAND_ATTACH_FS -pthread -D_REENTRANT -DAFS_PTHREAD_ENV =A0-o
> afsfileprocs.o -c ./../viced/afsfileprocs.c
>

yeah, this fits what i remember.