Re: [PATCH v4 1/3] GCC plugin infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1 Mar 2016 at 14:50, Kees Cook wrote:

> > @@ -124,5 +159,37 @@ quiet_cmd_host-cxxobjs     = HOSTCXX $@
> >  $(host-cxxobjs): $(obj)/%.o: $(src)/%.cc FORCE
> >         $(call if_changed_dep,host-cxxobjs)
> >
> > +# Compile .c file, create position independent .o file
> > +# host-cshobjs -> .o
> > +quiet_cmd_host-cshobjs = HOSTCC  -fPIC $@
> 
> Is there a reason to include the -fPIC and -shared (below) in the
> "quiet" output?

this is how it used to be before the entire .so building infrastructure
was nuked from the upstream kernel some time last year IIRC, i only kept
it alive as it was in PaX. i guess the quiet command was more verbose to
make it easier to spot shared objects during make which at the time were
built as dependencies only, not as primary targets (as is the case now
with the gcc plugins). in any case, this is just a visual clue and i don't
particularly care about the color of this bikeshed :).

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux