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>
6 files changed
tree: fc32e6ce1c8d5fce8867d48cd756f8e0dce58f9a
  1. dl/
  2. openpower/
  3. output/
  4. .gitignore
  5. .gitmodules
  6. LICENSE
  7. NOTICE
  8. op-build-env
  9. README.md
README.md

OpenPower Firmware Build Environment

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.

Building an image

git clone --recursive git@github.com:open-power/op-build.git
cd op-build
. op-build-env
op-build palmetto_defconfig && op-build

Dependancies for 64-bit Ubuntu/Debian systems

  1. Install Ubuntu (>= 14.04) or Debian (>= 7.5) 64-bit.
  2. Install the packages necessary for the 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

Dependancies for 64-bit Fedora systems

  1. Install Fedora 23 64-bit.
  2. Install the packages necessary for the build:
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