Fix building OABI NPTL ARM with glibc-2.7.
/trunk/patches/glibc/ports-2.7/110-ARM-NPTL.patch | 12 12 0 0 ++++++++++++
1 file changed, 12 insertions(+)
1 # Options specific to downloading and extracting packages
7 prompt "Force downloads"
10 Force downloading tarballs, even if one already exists.
12 Usefull if you suspect a tarball to be damaged.
16 prompt "Stop after downloading tarballs"
19 Only download the tarballs. Exit once it done.
21 Usefull to pre-retrieve the tarballs before going off-line.
23 config CONNECT_TIMEOUT
25 prompt "connection timeout"
29 Maximum time in seconds that you allow the connection to the server to take.
31 The scenario is as follows;
32 - some enterprise networks have firewalls that prohibit FTP traffic, while
34 - most download sites have http:// equivalent for the ftp:// URL
35 - after this number of seconds, it is considered that the connection could
36 not be established, and the next URL in the list is tried, until we reach
37 an URL that will go through the firewall, most probably an http:// URL.
39 If you have a slow network, you'd better set this value higher than the default
40 10s. If you know a firewall is blocking connections, but your network is globally
41 fast, you can try to lower this value to jump more quickly to allowed URLs. YMMV.
43 Note that this value applies equally to wget if you have that installed.
45 Of course, you'd be better off to use a proxy, as offered by the following
51 default PROXY_TYPE_NONE
53 config PROXY_TYPE_NONE
57 Select this option if you have a direct connection to the internet,
58 or if you already set the environment adequately.
60 config PROXY_TYPE_HTTP
64 Use an HTTP proxy to connect to to the internet.
65 Only the http and ftp protocols will be tunneled through this
68 Alternatively to setting this option, you can set and export the
69 following variables in your environment:
70 ftp_proxy=http://user:passwd@proxy.server:port/
71 http_proxy=http://user:passwd@proxy.server:port/
72 https_proxy=http://user:passwd@proxy.server:port/
74 # Haha! Here is an interesting feature/bug of mconf!
75 # The following config entries will be shown out-side the
77 # To add a third entry in the choice menu, add it after the
78 # if...endif conditional below, and so on for a fourth entry...
98 endif # USE_HTTP_PROXY
100 config PROXY_TYPE_SOCKS
102 prompt "SOCKS 4/5 proxy (EXPERIMENTAL)"
103 depends on EXPERIMENTAL
105 Use a Socks 4/5 proxy to connect to the internet.
106 All protocols can get tunneled through this kind of proxy (depending
107 on your proxy configuration, so;e do not allow all protocols, but
108 chances are that protocols needed by crosstool-NG are allowed).
110 Please note that the proxy you are using MUST be on the same subnet
111 as your machine. That is, it must be reachable without a hop through
112 any gate. If this is not the case, then do NOT use this option, and
113 setup tsocks system-wide.
115 Alternatively to setting this option, you can configure tsocks
116 system-wide, and set and export the following variable in your
118 LD_PRELOAD=/path/to/your/tsocks-library.so
120 This option makes use of the tsocks library. You will have to have tsocks
121 installed on your system, of course.
123 If you think you do not know what tsocks is, or how to configure it,
124 chances are that you do not need to set this option.
131 default PROXY_TYPE_SOCKS_SYS
133 config PROXY_TYPE_SOCKS_SYS
135 prompt "Use system settings"
137 Use that if tsocks is already configured on your system.
139 config PROXY_TYPE_SOCKS_AUTO
141 prompt "Auto (BROKEN)"
144 crosstool-NG will attempt to guess what type of SOCKS version
147 config PROXY_TYPE_SOCKS_4
149 prompt "SOCKS 4 (BROKEN)"
152 config PROXY_TYPE_SOCKS_5
154 prompt "SOCKS 5 (BROKEN)"
159 if ! PROXY_TYPE_SOCKS_SYS
178 endif # ! PROXY_TYPE_SOCKS_SYS
180 endif # USE_SOCKS_PROXY
186 default "none" if PROXY_TYPE_NONE
187 default "http" if PROXY_TYPE_HTTP
188 default "sockssys" if PROXY_TYPE_SOCKS_SYS
189 default "socksauto" if PROXY_TYPE_SOCKS_AUTO
190 default "socks4" if PROXY_TYPE_SOCKS_4
191 default "socks5" if PROXY_TYPE_SOCKS_5
193 # Force restore indentation
204 prompt "Force extractions"
207 Force extraction of already exctracted tarballs.
209 Usefull if you suspect a previous extract did not complete (eg. broken
210 tarball), or you added a new set of patches for this component.
212 config OVERIDE_CONFIG_GUESS_SUB
214 prompt "Override config.{guess,sub}"
217 Override tools' versions of config.guess and config.sub with the ones
218 from crosstool-NG. This means that all instances of config.guess and
219 config.sub in gcc, binutils, glibc, etc... will be replaced.
221 Most of the time, the versions of those scripts found in packages are old
222 versions, thus lacking some target definitions. This is the case for
223 uClibc-based tuples in old versions of gcc and gdb, for example.
225 Also, doing so will guarantee that all components have the same tuples
226 definitions for your target, and not diverging ones.
228 You can update the ones provided with crosstool-NG by first running:
230 in the directory where you want to run crosstool-NG prior to the build.
234 prompt "Stop after extracting tarballs"
237 Exit after unpacking and patching tarballs.
239 Usefull to look at the code before doing the build itself.
241 endif # ! ONLY_DOWNLOAD