* [Buildroot] [PATCH 1/1] botan: fix build with i586
@ 2018-09-16 12:01 Fabrice Fontaine
2018-09-16 13:58 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2018-09-16 12:01 UTC (permalink / raw)
To: buildroot
https://github.com/randombit/botan/commit/513d19781a558fbd1ff03c7152f61b5e7f294297
removed support for i586, put it back otherwise the following build
failure is raised:
(cd /accts/mlweber1/instance-0/output/build/botan-2.7.0; PATH="/accts/mlweber1/instance-0/output/host/bin:/accts/mlweber1/instance-0/output/host/sbin:/usr/bin:/bin" ./configure.py --cpu="i586" --os=linux --cc=gcc --cc-bin="/accts/mlweber1/instance-0/output/host/bin/i586-linux-g++" --prefix=/usr --disable-static-library --enable-shared-library --without-stack-protector --with-boost --with-bzip2 --with-openssl --with-sqlite --with-lzma --with-zlib --disable-altivec --disable-neon)
INFO: ./configure.py invoked with options "--cpu=i586 --os=linux --cc=gcc --cc-bin=/accts/mlweber1/instance-0/output/host/bin/i586-linux-g++ --prefix=/usr --disable-static-library --enable-shared-library --without-stack-protector --with-boost --with-bzip2 --with-openssl --with-sqlite --with-lzma --with-zlib --disable-altivec --disable-neon"
INFO: Autodetected platform information: OS="Linux" machine="x86_64" proc="x86_64"
ERROR: Unknown or unidentifiable processor "i586"
Fixes:
- http://autobuild.buildroot.org/results/aaa2ea8c3fb5fe954c0af0061f83ad70e0a862f9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/botan/0002-Fix-build-with-i586.patch | 37 ++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 package/botan/0002-Fix-build-with-i586.patch
diff --git a/package/botan/0002-Fix-build-with-i586.patch b/package/botan/0002-Fix-build-with-i586.patch
new file mode 100644
index 0000000000..1d47f43d4a
--- /dev/null
+++ b/package/botan/0002-Fix-build-with-i586.patch
@@ -0,0 +1,37 @@
+From 3d448ae401de4c4826d53aebbf6690d103ebca90 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 16 Sep 2018 11:59:12 +0200
+Subject: [PATCH] Fix build with i586
+
+Commit 513d19781a558fbd1ff03c7152f61b5e7f294297 removed support for
+i586, put it back otherwise the following build failure is raised:
+
+(cd /accts/mlweber1/instance-0/output/build/botan-2.7.0; PATH="/accts/mlweber1/instance-0/output/host/bin:/accts/mlweber1/instance-0/output/host/sbin:/usr/bin:/bin" ./configure.py --cpu="i586" --os=linux --cc=gcc --cc-bin="/accts/mlweber1/instance-0/output/host/bin/i586-linux-g++" --prefix=/usr --disable-static-library --enable-shared-library --without-stack-protector --with-boost --with-bzip2 --with-openssl --with-sqlite --with-lzma --with-zlib --disable-altivec --disable-neon)
+ INFO: ./configure.py invoked with options "--cpu=i586 --os=linux --cc=gcc --cc-bin=/accts/mlweber1/instance-0/output/host/bin/i586-linux-g++ --prefix=/usr --disable-static-library --enable-shared-library --without-stack-protector --with-boost --with-bzip2 --with-openssl --with-sqlite --with-lzma --with-zlib --disable-altivec --disable-neon"
+ INFO: Autodetected platform information: OS="Linux" machine="x86_64" proc="x86_64"
+ ERROR: Unknown or unidentifiable processor "i586"
+
+Fixes:
+ - http://autobuild.buildroot.org/results/aaa2ea8c3fb5fe954c0af0061f83ad70e0a862f9
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://github.com/randombit/botan/pull/1687]
+---
+ src/build-data/arch/x86_32.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/build-data/arch/x86_32.txt b/src/build-data/arch/x86_32.txt
+index 6cbc5d0b3..a36c0c556 100644
+--- a/src/build-data/arch/x86_32.txt
++++ b/src/build-data/arch/x86_32.txt
+@@ -12,6 +12,7 @@ x86pc # for QNX
+ bepc # for Haiku
+
+ i686
++i586
+ i386
+ </aliases>
+
+--
+2.17.1
+
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] botan: fix build with i586
2018-09-16 12:01 [Buildroot] [PATCH 1/1] botan: fix build with i586 Fabrice Fontaine
@ 2018-09-16 13:58 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-09-16 13:58 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 16 Sep 2018 14:01:16 +0200, Fabrice Fontaine wrote:
> https://github.com/randombit/botan/commit/513d19781a558fbd1ff03c7152f61b5e7f294297
> removed support for i586, put it back otherwise the following build
> failure is raised:
>
> (cd /accts/mlweber1/instance-0/output/build/botan-2.7.0; PATH="/accts/mlweber1/instance-0/output/host/bin:/accts/mlweber1/instance-0/output/host/sbin:/usr/bin:/bin" ./configure.py --cpu="i586" --os=linux --cc=gcc --cc-bin="/accts/mlweber1/instance-0/output/host/bin/i586-linux-g++" --prefix=/usr --disable-static-library --enable-shared-library --without-stack-protector --with-boost --with-bzip2 --with-openssl --with-sqlite --with-lzma --with-zlib --disable-altivec --disable-neon)
> INFO: ./configure.py invoked with options "--cpu=i586 --os=linux --cc=gcc --cc-bin=/accts/mlweber1/instance-0/output/host/bin/i586-linux-g++ --prefix=/usr --disable-static-library --enable-shared-library --without-stack-protector --with-boost --with-bzip2 --with-openssl --with-sqlite --with-lzma --with-zlib --disable-altivec --disable-neon"
> INFO: Autodetected platform information: OS="Linux" machine="x86_64" proc="x86_64"
> ERROR: Unknown or unidentifiable processor "i586"
>
> Fixes:
> - http://autobuild.buildroot.org/results/aaa2ea8c3fb5fe954c0af0061f83ad70e0a862f9
I don't believe this is really the right fix. Indeed, why should botan
specifically support all the BR2_ARCH values ?
Are you sure it's not the job of botan.mk to map the BR2_ARCH value to
whatever botan expects ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-16 13:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-16 12:01 [Buildroot] [PATCH 1/1] botan: fix build with i586 Fabrice Fontaine
2018-09-16 13:58 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox