Category : gcc

I am trying to run asan using a few compiler versions to catch problems for different targets. To do this I am using custom cmake toolchain files and, to start, the official GCC Docker containers. Using gcc:11 everything works as expected, but for gcc:10 and gcc:9 I cannot link pthread at all using this custom ..

Read more

I’m now running https://github.com/StefanScherer/windows-docker-machine window docker container and opened powershell prompt to install GCC, Golang and a bunch of other stuff. How can I install TDM-GCC https://github.com/jmeubank/tdm-gcc/releases/download/v10.3.0-tdm64-2/tdm64-gcc-10.3.0-2.exe within powershell and then open the Mingw prompt? ‘cz I have no GUI and the container would lose its state after exit. Source: Docker..

Read more

I’m using docker-backed lambdas with the AWS-provided base image for python3.8 It looks like it tries to build matplotlib from scratch then fails out with gcc related errors. The repro is straightforward, just try to build the following Dockerfile: FROM amazon/aws-lambda-python:3.8 RUN yum -y install gcc RUN pip3 install –upgrade pip RUN pip3 install matplotlib ..

Read more

I have a docker container apache/zeppelin:0.9.0 successfully running. The name of the container is "zeppelin". I’ve tried to install "RPostgres" package by running following command: docker exec -it -u root zeppelin R -e "install.packages(‘RPostgres’, repos = ‘http://cran.us.r-project.org’)" but following error message is shown for every dependency compilation: /opt/conda/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lgcc Source: Docker..

Read more

I am trying to dockerize a GO application which uses a GO Java JNI library (https://github.com/timob/jnigi) and getting an error on the build stage as follows: /go/src/github.com/timob/jnigi/cinit.go:8:9: fatal error: jni.h: No such file or directory 8 | #include<jni.h>|^~~~~~~ compilation terminated. My Dockerfile: FROM golang:alpine as BUILD ENV GO111MODULE=auto RUN apk update && apk upgrade && ..

Read more

I am trying to dockerize a Go application which uses a Go Java JNI library (https://github.com/timob/jnigi) and getting an error on the build stage as follows: /go/src/github.com/timob/jnigi/cinit.go:8:9: fatal error: jni.h: No such file or directory 8 | #include<jni.h>|^~~~~~~ compilation terminated. My Dockerfile: FROM golang:alpine as BUILD ENV GO111MODULE=auto RUN apk update && apk upgrade && ..

Read more