commit | 18c4ed4cfcda2532ccc94f2ad409d3845fa1c3f4 | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Thu Mar 03 11:21:57 2016 +1030 |
committer | Joel Stanley <joel@jms.id.au> | Thu Mar 03 19:28:26 2016 +1030 |
tree | fc32e6ce1c8d5fce8867d48cd756f8e0dce58f9a | |
parent | 11548951ed8db76cc9d10e7589233d4a0b8ba9a0 [diff] |
openpower: Move to glibc 2.23 setlocale is broken for glibc 2.22. Upstream has a patch in the 2.22 release branch (strcoll: Remove incorrect STRDIFF-based optimization (Bug 18589)), but has not made any releases from this branch. We can solve the problem and gain the other bugfixes, such as a fix for CVE-2015-7547: getaddrinfo() stack-based buffer overflow. Signed-off-by: Joel Stanley <joel@jms.id.au>
The OpenPower firmware build process uses Buildroot to create a toolchain and build the various components of the PNOR firmware, including Hostboot, Skiboot, and Petitboot.
git clone --recursive git@github.com:open-power/op-build.git cd op-build . op-build-env op-build palmetto_defconfig && op-build
sudo apt-get install cscope ctags libz-dev libexpat-dev \ python language-pack-en texinfo \ build-essential g++ git bison flex unzip \ libxml-simple-perl libxml-sax-perl libxml2-dev libxml2-utils xsltproc
sudo dnf install vim gcc-c++ flex bison git ctags cscope expat-devel patch \ zlib-devel zlib-static make unzip tar bzip2 python wget cpio \ bc xz findutils perl-XML-Simple perl-Thread-Queue perl-Env \ perl-XML-LibXML perl-Digest-SHA1 perl-bignum libxml2-devel \ libxslt hostname