Giter Site home page Giter Site logo

docker-centos6's Introduction

About

Docker image that enables building apitrace for CentOS 6 / RHEL 6.

Instructions

Download

You can either download the image by doing

$ docker pull jrfonseca/centos6
$ docker tag jrfonseca/centos6 centos6-gcc49

or build the image yourself by doing

$ docker build -t centos6-gcc49 https://raw.githubusercontent.com/apitrace/docker-centos6/master/Dockerfile

or by cloning this repository and doing

$ docker build -t centos6-gcc49 .

Build

Then build apitrace as:

$ cd /path/to/git/clone/of/apitrace
$ docker run -i -t -v $PWD:$PWD -u `id -u` centos6-gcc49 cmake \
    -H$PWD \
    -B$PWD/build \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
    -DENABLE_STATIC_LIBGCC=ON \
    -DENABLE_STATIC_LIBSTDCXX=ON \
    -DENABLE_STATIC_EXE=ON \
    -DENABLE_GUI=OFF
$ docker run -i -t -v $PWD:$PWD -u `id -u` centos6-gcc49 cmake --build $PWD/build -- -j`nproc`

You can verify the symbols versions doing

$ objdump -p build/wrappers/glxtrace.so
$ objdump -p build/glretrace

There should be:

  • no glibc symbol with version higher than GLIBC_2.12

  • no GLIBCXX_*symbol whatsoever, given that libstdc++ is statically linked

See also https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html

docker-centos6's People

Contributors

jrfonseca avatar

Watchers

James Cloos avatar Johnathan Kupferer avatar  avatar

Forkers

mnfienen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.