Andrew Deason <[email protected]> writes:

> I don't see it on amd64 buildbots on all invocations:

> gcc   -O   -I/home/buildbot/slave1/rhel6-x86_64-builder/build/src/config
> -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  -o
> afsfileprocs.o -c ./../viced/afsfileprocs.c

Ah, because Makefile.pthread uses a different generic target that doesn't
use CCOBJ and instead uses MT_CC, which isn't set separately for amd64.
So we're adding -fPIC to everything except things that are built
pthreaded, except for the pthreaded shared libraries, where we're adding
it back in.  Lovely.

Our build system is a rat's nest.

-- 
Russ Allbery ([email protected])             <http://www.eyrie.org/~eagle/>
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to