<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/xback/tools/bc, branch master</title>
<subtitle>Staging tree of Koen Vandeputte</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/xback/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/'/>
<updated>2026-09-22T18:29:59Z</updated>
<entry>
<title>tools: cache the configure results of eleven more autotools tools</title>
<updated>2026-09-22T18:29:59Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2026-09-22T18:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=6eae1d6b772eeb012046f64be83ecf9ea5ef7514'/>
<id>urn:sha1:6eae1d6b772eeb012046f64be83ecf9ea5ef7514</id>
<content type='text'>
Configure stage without a cache against a warm cache:

  mtools      3.34 s -&gt; 0.28 s
  gengetopt   4.39 s -&gt; 2.13 s
  fakeroot   10.97 s -&gt; 8.73 s
  xz          4.32 s -&gt; 2.17 s
  libressl    3.07 s -&gt; 1.46 s
  flex       12.32 s -&gt; 10.98 s
  expat       2.74 s -&gt; 1.52 s
  bc          1.34 s -&gt; 0.38 s
  dosfstools  3.13 s -&gt; 2.54 s
  libtool     2.86 s -&gt; 2.29 s
  mtd-utils   4.06 s -&gt; 3.56 s

flex, fakeroot, dosfstools and mtd-utils run autoreconf in the same
stage, and the cache does not reach that part.

Each of the eleven configures the same way with a warm cache as it does
without one: the check configures three times, without a cache, with a
cold cache and with a warm cache, and every generated file of the first
and the last run is identical. A static scan of each configure script
found no cache check that changes CFLAGS, CPPFLAGS, LDFLAGS or LIBS
without restoring it.

patchelf, mklibs and automake pass the same check but gain less than
half a second, so they stay out.

make world after make tools/clean now takes 121 s against 177 s with
cold caches.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
</entry>
<entry>
<title>tools: bc: update to 1.08.2</title>
<updated>2026-06-22T11:01:20Z</updated>
<author>
<name>Jonas Jelonek</name>
</author>
<published>2026-06-22T08:35:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=47d1bf564ff438781be3aa4fa8c1183734173293'/>
<id>urn:sha1:47d1bf564ff438781be3aa4fa8c1183734173293</id>
<content type='text'>
Changelog included in source tar.

Removed patches:
- 000-getopt-prototype.patch
- 001-getopt-declaration.patch

Both patch changes are included upstream in this version.

Link: https://github.com/openwrt/openwrt/pull/23911
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: bc: fix build on musl host</title>
<updated>2026-06-21T09:18:46Z</updated>
<author>
<name>Shine</name>
</author>
<published>2026-02-02T22:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=a9b59370155fdc03341ef784d9948c27fcb8f810'/>
<id>urn:sha1:a9b59370155fdc03341ef784d9948c27fcb8f810</id>
<content type='text'>
Fix declaration of getenv() in getopt.c

Backport from bc 1.08.2.

Signed-off-by: Shine &lt;4c.fce2@proton.me&gt;
Link: https://github.com/openwrt/openwrt/pull/21957
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bc: let getopt() prototype be defined normally</title>
<updated>2025-07-26T12:38:07Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2025-06-24T19:35:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=346872e7201b79a1f353e2846ab93a71d2357946'/>
<id>urn:sha1:346872e7201b79a1f353e2846ab93a71d2357946</id>
<content type='text'>
Add a patch in order to remove an obsolete workaround
that is currently causing issues on some macOS systems.

Add patch:
 - 000-getopt-prototype.patch

Tested-by: Georgi Valkov &lt;gvalkov@gmail.com&gt; # macOS
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bc: override SUBDIRS variable with Makefile</title>
<updated>2025-07-26T12:38:07Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2025-06-24T19:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=46506776e6d28263e21540c99575ea5c5de1c7af'/>
<id>urn:sha1:46506776e6d28263e21540c99575ea5c5de1c7af</id>
<content type='text'>
Instead of editing the SUBDIRS variable with a patch,
it can be overriden at the end of the command line when invoking Make.

Also, remove use of autoreconf, as this patch
was the only one that made it necessary.

Removed:
 - 001-no_doc.patch

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bc: remove useless patch</title>
<updated>2025-07-26T12:38:07Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2025-06-24T18:23:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=3e95b955fc98078aabe555bce688d33619cbec7b'/>
<id>urn:sha1:3e95b955fc98078aabe555bce688d33619cbec7b</id>
<content type='text'>
The remaining changes in this patch to the configure script
has no effect at all since autoreconf is used with bc
and the recent update to bc removed the need to patch
the original set of changes in order to fix building.

Remove the patch.

Removed:
 - 002-fix-libmath.patch

Fixes: abd424c3e ("tools/bc: update to 1.08.1")
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bc: update to 1.08.1</title>
<updated>2025-02-19T08:41:37Z</updated>
<author>
<name>Jack Sun</name>
</author>
<published>2025-02-02T02:46:47Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=abd424c3e19df49bf331a5b0d0adbd71ebf14929'/>
<id>urn:sha1:abd424c3e19df49bf331a5b0d0adbd71ebf14929</id>
<content type='text'>
refresh patch:
001-no_doc.patch
002-fix-libmath.patch
Changelog included in package.

Signed-off-by: Jack Sun &lt;sunjiazheng321521@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/17828
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bc: update to 1.07.1</title>
<updated>2022-10-22T20:50:37Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-10-21T20:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=a8bbce498e9fab4fc11ab2b126c932929a27be0f'/>
<id>urn:sha1:a8bbce498e9fab4fc11ab2b126c932929a27be0f</id>
<content type='text'>
Changes:
  Fixed ibase extension causing problems for read()
  Fixed parallel make problem.

Remove the "003-bc-fix-hang.patch" because the hang is fixed upstream.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>tools: add Host/Uninstall where possible</title>
<updated>2022-10-19T22:33:22Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2022-09-28T08:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=a63805b25f99e609d575ee920baae269fb58794c'/>
<id>urn:sha1:a63805b25f99e609d575ee920baae269fb58794c</id>
<content type='text'>
This cleans staging_dir when calling tool/x/clean.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bc: use more compatible shebang</title>
<updated>2022-09-13T22:06:15Z</updated>
<author>
<name>Ilya Katsnelson</name>
</author>
<published>2022-09-08T09:04:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/xback/commit/?id=21dfd7289b72fefd8d97c89a08ad7c3e0fb791af'/>
<id>urn:sha1:21dfd7289b72fefd8d97c89a08ad7c3e0fb791af</id>
<content type='text'>
Update the existing patch to use a shebang that works on systems that
don't have a /bin/bash, e.g. NixOS or GuixSD.

Signed-off-by: Ilya Katsnelson &lt;me@0upti.me&gt;
</content>
</entry>
</feed>
