Tue, 29 Mar 2011 20:04:34 +0200
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.
1 ##
2 ## mailman-apache.conf -- Apache Configuration for Mailman
3 ##
5 <VirtualHost host.example.com>
6 # server information
7 ServerName host.example.com
8 ServerAdmin hostmaster@host.example.com
9 ServerSignature on
11 # document area
12 DocumentRoot @l_prefix@/libexec/mailman/htdocs/
13 <Directory "@l_prefix@/libexec/mailman/htdocs">
14 Options FollowSymLinks
15 AllowOverride None
16 Order allow,deny
17 Allow from all
18 </Directory>
20 # pipermail area
21 Alias /mailman/pipermail/ @l_prefix@/var/mailman/archives/public/
22 <Directory "@l_prefix@/var/mailman/archives/public">
23 Options FollowSymLinks
24 AllowOverride None
25 Order allow,deny
26 Allow from all
27 </Directory>
29 # icon area
30 Alias /mailman/icons/ @l_prefix@/libexec/mailman/icons/
31 <Directory "@l_prefix@/libexec/mailman/icons">
32 Options FollowSymLinks
33 AllowOverride None
34 Order allow,deny
35 Allow from all
36 </Directory>
38 # executable area
39 ScriptAlias /mailman/ @l_prefix@/libexec/mailman/cgi-bin/
40 <Directory "@l_prefix@/libexec/mailman/cgi-bin">
41 Options FollowSymLinks ExecCGI
42 AllowOverride None
43 Order allow,deny
44 Allow from all
45 </Directory>
47 # logging
48 CustomLog @l_prefix@/var/mailman/logs/http-access.log common
49 ErrorLog @l_prefix@/var/mailman/logs/http-error.log
50 LogLevel warn
51 </VirtualHost>