Andrew Deason <[email protected]> writes: > Benjamin Kaduk <[email protected]> wrote:
>> If that's the way of the future, I don't mind changing a bunch of >> lines. I will note, though, that we need to retain (gain?) a way for >> kernel sources to be compiled with different flags than userland. The >> case that I tripped over most recently is that the (FBSD) amd64 >> userland build is compiling with PIC, but when I go to bsd.kmod.mk for >> libafs, it adds mcmodel=kernel which is incompatible with PIC. (I >> currently workaround this by emptying XCFLAGS for the libafs build, but >> would like other options.) > _Everything_ is built with PIC? That doesn't seem right. Everything is built with PIC on most Linux platforms that aren't ridiculously register-contrained, since unless the userspace libraries are built PIC, they can't be linked into any other shared libraries. The cost of PIC on amd64 is a lot less than on i386. -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
