openpkg/openpkg.com.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 GmbH <openpkg@openpkg.com>
michael@13 3 Comment: http://openpkg.com/openpkg.com.pgp
michael@13 4 Comment: gpg-pubkey-61b7ae34-4544a6af
michael@13 5 Comment: 7D12 1A8F C05D C18A 4329 E9EF 6704 2EC9 61B7 AE34
michael@13 6
michael@13 7 mQGiBEVEpq8RBAD0cBTeK8ukoS5/GlbKbBgs7SkZBMXBvUZkh/qKYqqVtciw9tfj
michael@13 8 ifbRmY/ug8AU+BDgFQdoJN5HcM5c0YyQjs1RhstNGm0qQITfF6byh78F/pqdxjOd
michael@13 9 MKDMjgYHRPojjH2dElqtH5gFhpuyp12Ueg/wN9g9pk8EjTp9/qvTtv3ZpwCg29Hu
michael@13 10 I7CLKuwiXfpTbZTqWerL+ikD/ixPat8L5lnVpz3UFV0Mk8tkDg9odnKtdyRd11WK
michael@13 11 PyZ3VL01XTb3E1NQS6jbOycDi8GUwN92QCZ4NRrk7lA0mRtSjtxOhrhdSPgbDIli
michael@13 12 s5lHtZzeUKWMSfz8GY5mRs0eCz7zV0VscUW5GpJUKtWiHiOddoNQdcBP5L8JN888
michael@13 13 wd3yA/9PGzwK752HMTELlpUExaQoc7HiCkhRNJ8271NknkyrWjVAgLNWvQ/7hTiM
michael@13 14 Ns6Pmk7Nlla9hRkorxQ6MB/h7ZmQmLmqJlVcoXe2nAADdD30/p+o9BL15FEei0Ci
michael@13 15 o7349iKh1qlieeSM0vmHL5Y2drshZEWSggCPHQHtd5rxWrkXUrQiT3BlblBLRyBH
michael@13 16 bWJIIDxvcGVucGtnQG9wZW5wa2cuY29tPohhBBMRAgAhBQJFRKavAhsDBwsJCAcD
michael@13 17 AgEEFQIIAwQWAgMBAh4BAheAAAoJEGcELslht640NYcAoL0yn8Ofk+B8cRFTY2CL
michael@13 18 j1uIDiM8AKCQieJH/AX1UuQ505cKFGwGtYbVAbkCDQRFRKa3EAgAgXE7Gx0q+OH1
michael@13 19 6U2ZDDPsLRe1WwSVaXvS3Ra1ee2Jq4Tu/uja36r8IR/7JfBiG+qGvcrKdIsdNFhh
michael@13 20 OL0Dd8O8BwMPAAvzUT35VC29lHzewPHnquSF7X7Q8Xsr+mwGLHPS8brX56XWmWtf
michael@13 21 1L1Ulx+KbcM/d/B+vssxSB3FsIvK+C666wiX4oZWbxcA3sC66Jxs1tuo1jWDxcGD
michael@13 22 hb63FMdWsZODBNOqlKrOCfT/PMaKVftG5lpKFd6H60pIbx0OagqnFML6FeHGy1O7
michael@13 23 PkghOgbX+NfuH30dJKFYdwpZEcsaSTI9vedcjg2SL9frQyW8QIrK5zbCZFD9lPXP
michael@13 24 Cl+XM0APGwADBgf/Yjj0IUSNJ4kYq1/Ofa+TvC4hVRpvQAHq+81LoN+XDXerAtmc
michael@13 25 okr3fgHqMJypVfnGt5p+q9LvyCyKThOIOcvRfPeN49vnbdgIgJADmOmGQ35naF4Y
michael@13 26 6LIuqgugVr16hMJqJn3vZXdJptt0am2oZyy0lpOGOlm5A7nwpJcD08ywOfcWXPrX
michael@13 27 ybv08mjl8WMAZZdwdP/WStw3sDmsBl8dMPoAGnbTzzu2TeNC1W0373lonj6cdkgl
michael@13 28 G3q6OnePsCah7GCyO8qDzyJbXvKD99i8/Uowuo4hi14Mj6fvyQbIUvJ5+djSAeqb
michael@13 29 WNgBsmm9u3NlF0aFU799viLKo4dRYdhMLcLJx4hJBBgRAgAJBQJFRKa3AhsMAAoJ
michael@13 30 EGcELslht640GDcAn3r5Zyaey8Gd/X3/9ZoZ3KfTIt0nAKC/E5yRwNfdwBWvEN4h
michael@13 31 iGriXwS53Q==
michael@13 32 =txp0
michael@13 33 -----END PGP PUBLIC KEY BLOCK-----

mercurial