openpkg/openpkg.org.pgp

Tue, 29 Mar 2011 20:04:34 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 29 Mar 2011 20:04:34 +0200
changeset 334
4a34d7a82eab
permissions
-rw-r--r--

Rework package yet again, correcting and introducing new buildconf logic:
Conditionally disable bootstrap stage comparison correctly, correct
english grammar, better find system as(1) and ld(1), indotruce detailed
optimization option messages, more completely guess cpu types, allow
profiled bootstrapping without a preinstalled GCC because many other
compilers have long since implemented 64-bit arithmetic, instruct make
to build sequentially (not in sparallel) when building a profiled
bootstrap as GCC online documents recommend, and generally improve
comment blocks.

The single most important correction in this changeset relates to the
GCC changed optimization policy since at least GCC 4.5, in which -march
is always passed and not always correctly guessed. In the case of this
package, allowing GCC to guess the architecture leads to wild build
errors at various subcomponents (zlib, libgcc, libiberty...) and
bootstrap stages. It seems quite platform specific, and the safest
approach to correcting this seems to be explicitly always specifying the
-march argument when bootstrapping GCC. Because the best choice 'native'
is not available when bootstrapping using a foreign (non GCC) compiler,
a guess is made according to rpmmacros l_platform in that case.

It is questionable as to whether these recent optimization changes
on the part of GCC or this package are compatible with each other,
or if either are complete or correct at all. At least applying these
corrections allows this package to build again in most cases test.

michael@13 1 -----BEGIN PGP PUBLIC KEY BLOCK-----
michael@13 2 Comment: OpenPKG <openpkg@openpkg.org>
michael@13 3 Comment: http://openpkg.org/openpkg.org.pgp
michael@13 4 Comment: gpg-pubkey-63c4cb9f-3c591eda
michael@13 5 Comment: 6D96 EFCF CF75 3288 10DB 40C2 8075 93E0 63C4 CB9F
michael@13 6
michael@13 7 mQGiBDxZHtoRBADCER9+ncfA7yi5ZyCrgmQwbPjvdAPFnVrUVIiFcvBH5qWpoVOG
michael@13 8 l3BG+fI2DZEO07Lz9Z/IHTE9iTgrV9Dh278oZuK+UW7jBovByjHCJd875diSU7Od
michael@13 9 SaujLBnvDRbAfcgG/kRJI5G8Pmfd39RViQBdw1MZ5ZnHoM810peUv3RLawCg+msN
michael@13 10 ORnJ7JHnEpnrhxOQ1S1cBSMD/0skJcwYn4ORXBCUSpBqzk2Haoch7Eko//H3fQqT
michael@13 11 gA/SVGxcMteFCtoqHbowsfHdeNOyEkjf4umcdJo9Yiwk65oHGwBuvqhsTpQ7mzRq
michael@13 12 dLVAFlpU8pecMfT3ZWCnB+7UfFIzZYemu1RbX5Hn9/kmK9kvu1djmqL+XMlhtS66
michael@13 13 4XH5A/4q7EdCHgrskxViW2MYfINkfWxwYaHv/9UsnmFQXb6Lm6FfU9icNaYieRv1
michael@13 14 yJTAOo+G7m+JEXnXJPv2wiVs0xzI0Ni0WWJo/ILihFGxwma7+auICUYmncnimWkl
michael@13 15 cWAMEspKb439f1j6X3ABQNXsf1li+w3ro7yjpaI2gr5fGX1UU7QdT3BlblBLRyA8
michael@13 16 b3BlbnBrZ0BvcGVucGtnLm9yZz6IVwQTEQIAFwUCPFke2gULBwoDBAMVAwIDFgIB
michael@13 17 AheAAAoJEIB1k+BjxMufXz8An0zGGFWZlQWMumfQ9GX16GNRh5MoAKCqw7xmuDN5
michael@13 18 jWVoSUiDOJlRf3LVL7kCDQQ8WR7iEAgApQrOX0sAWmlKNAwyxUyNbmgBnyqSIcI+
michael@13 19 d8u81kuuOEPpEsiPOG5YI/Bc5osrTGT2q4hdTX9nETqXXRGe+Hu0czHADMS5stPJ
michael@13 20 bSlBVg4VaiKkSTElssiNLNMWPb51UTP/mPYOa7zOhkhXrg49WnvizNBZdurGoLpr
michael@13 21 YDBIo7XW1k8QwJe43xn/GWO8pwTMDr/UUfEPZcSOqdWpkXB9OzPNiq3S+Armnv81
michael@13 22 FakrGCmRWDq4AWtmy2AVpQlcrkG0tQVq0QhFvz8yZ1lKbilrwEIYIEp56wF4k7D9
michael@13 23 t0Vpbi2RhbD/dcfgDN7E+DmEL4VHXBXIz63fnH4duebLTRLV7Qj+ewADBQf/Us7j
michael@13 24 pY8n6jidAE3PtSy3rB+pN2+tzMtov6A+Zx2GHRefM9AwDLe6PRgJTVVQE9WTreuY
michael@13 25 N33y3hf1PvYVBqhxAr031QqCHh1QdvrCJS0qUZk90it3EXUgAyRkD6vJobnsTkqH
michael@13 26 aO1Ndqx8hQFYjpC5Fh3QVNKz4uACwjWPKTkRdihR5clfqIcZ9Mor8A3FBlYA7C8w
michael@13 27 +O08uA+OTOmz9CrQlpwRUqaOKRepatv+MMYC4L/CtZEYUvc+fzm3XUYjolZGQiJQ
michael@13 28 T4Kr1XC4sIy22V/oB3dWaJtAbHiTnEmuccn0Q8cOO+K1pZPlTjRjx0E9ZEoy4AXc
michael@13 29 ataTO6Zyzcp2OkHyAYhGBBgRAgAGBQI8WR7iAAoJEIB1k+BjxMufQCwAoMk2qYPz
michael@13 30 k/zbdWHw3BNDlsgo3iUCAJ9uDTvjgw87W5VP02WcgqtZzfLPhQ==
michael@13 31 =vXJp
michael@13 32 -----END PGP PUBLIC KEY BLOCK-----

mercurial