Re: amd64 and -fPIC

Benjamin Schieder <blindcoder-1k+CIuW/[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
> 	* We extend the .cache file format so it also has a list of
> 	  binaries and libraries which are part of the package (this would
> 	  be needed for some other things - such as "rocket search" - too).
So, you want to put the flist into the .cache file?
I think that would require too much space.
rocket search should probably better use the flists.

> 	* On architectures which can't handle non-pic libraries, all
> 	  packages with shared objects listed in their .cache file are
> 	  compiled with -fPIC via
> 
> 		var_append GCC_WRAPPER_INSERT " " "-fPIC"
> 
> 		in a 'prepare' hook registered in
> 		package/base/gcc/parse-config
What about inserting an [AUTOFLAGS] tag into the .cache files? That way we
could also re-use this for future occurances of similiar problems. This flag
should then be updated by the .cache generating code.

> 	* A special variable can be set in the package .conf file to
> 	  disable the 'prepare' hook.
Better a variable that is initiated with "" and can then be set to 0 or 1 to
forcibly dis- or enable this hook.

Btw, speaking of .cache files: what about running Create-CopyPatch? It's 2005
now and the Copyright line should probably be updated.

Greetings,
	blindy
-- 
Benjamin 'blindCoder' Schieder
Registered Linux User #289529: http://counter.li.org
finger blindcoder-1k+CIuW/[email protected] | gpg --import
-- 
/lusr/bin/brain: received signal: SIGIDIOT

_______________________________________________
rock-devel mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB66Z27Wabow2Um2YRArxBAJ9fZFx/azf6/F/wyDWkgugocYjvIgCgvMgd
+C9ma+G3Iqob+/Oo2v9+CsQ=
=ZYH2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.