pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/lang/gcc47



* On 2012-09-13 at 08:19 BST, Steven Drake wrote:

> Module Name:  pkgsrc
> Committed By: sbd
> Date:         Thu Sep 13 07:19:12 UTC 2012
> 
> Modified Files:
>       pkgsrc/lang/gcc47: Makefile distinfo
>       pkgsrc/lang/gcc47/patches: patch-gcc_Makefile.in
> 
> Log Message:
> Add "$(prefix)/$(target_noncanonical)/lib/%M" to the RPATH gcc adds to
> all programs and shared libraries.

Is this to fix a particular issue?  The problem is it is incompatible
with the approach of bulk builds which use a separate gcc in the pbulk
prefix.

This avoids having to reinstall gcc for every single package build,
which would considerably bloat the build times.

I know you have issues with my proposed runtime split, but that does
take care of this problem (though perhaps not fully as I need to
understand why you need this patch) by rewriting the libgcc dependency
to use the runtime from the target pkgsrc, not the pbulk pkgsrc:

  
https://github.com/joyent/pkgsrc/blob/joyent_gccruntime/lang/gcc47-runtime/buildlink3.mk#L17

Without this, you cannot distribute packages without also bundling the
pbulk bootstrap.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com



Home | Main Index | Thread Index | Old Index