Questions regarding GNU Compiler Collection Suite.

learn more… | top users | synonyms

6
votes
0answers
449 views

Enabling support for AddressSanitizer in FreeBSD

The question essentially is how to compile a program that uses AddressSanitizer in FreeBSD. I use FreeBSD 10.0 (64-bit). I am trying to compile the following code with -fsanitize=address flag: int ...
3
votes
0answers
810 views

-fstack-protector-strong not supported by compiler gcc 4.8.3

On Fedora 20, I need to install a linux driver for a particular PCI express serial port card which is given by the manufaturer. In order to do this, I have to compile the source code of the driver. ...
3
votes
0answers
828 views

Compile parameters for MIPS based codesourcery toolchain?

I installed codesourcery cross compile toolchain for mips32 architecture on my WIN 7 machince. I want to first compile a simple 'factorial' binary for my router which is based on MIPS32. From little ...
2
votes
0answers
111 views

Installing GCC on SLES 12

I'm having trouble installing gcc on a new SLES 12 box. The goal here is actually to get R Shiny running, but when I try to install any packages I get the below error: sudo su - -c "R -e ...
2
votes
0answers
61 views

What is the effect of ACLs/umask on the permissions of the executable file generated by gcc?

I have been wondering how gcc determines the resulting file permissions of the executable file being generated. To gain some insight, I considered a minimalistic program test.c #include ...
2
votes
0answers
35 views

Does make sense using exotic bootstrap in GCC?

Has anyone any evidence that currently GCC is bootstrapped in non trivial ways to detect bugs for certain features and architectures? Or at least point to some documentation where I can find wich real ...
2
votes
0answers
69 views

GCC cofigure error

When I'm trying to install GCC for SLED 11 SP3, the terminal show me this error: configure: error: cannot compute suffix of object files: cannot compile. Before to intall GCC, I installed the GMP ...
2
votes
0answers
606 views

sudo apt-get install g++-4.8-multilib not working on Mint?

I've got the latest version of Linux Mint 16 (64 bit) and in Netbeans I am compiling a project in 32 bit mode. I get the error that I am missing bits/config.h. I think this is because I am in 32-bit ...
2
votes
0answers
2k views

How to compile gcc toolchain with special sysroot correctly?

I try to compile a new gcc, including binutils and glibc. Since I can not be root, I want to install it all in ~/local. I set these variables: PREFIX=~/local && export PREFIX ...
2
votes
0answers
53 views

GNU toolchains against GCC SVN?

Is there anything like CodeSourcery which provides prebuilt binaries for arm toolchains built against gcc-svn. http://elinux.org/Toolchains#Prebuilt_toolchains Otherwise, a working instruction for ...
1
vote
0answers
50 views

Some commands are no longer responding?

I have a Debian based distribution & lately a problem has been encountered when trying to execute the gcc or man command's (And probably other commands I haven't found yet). When I type them in ...
1
vote
0answers
34 views

Linux kernel, missing '__fentry__' symbol

Trying to build the EtherCAT master driver (realtime I/O driver) on a RT Linux (SL6.3) I keep bumping into a missing symbol issue when building the EtherCAT kernel modules: # make modules make -C ...
1
vote
0answers
30 views

Build errors on a copied operating system in a chroot

I'm in a bit of an interesting situation. In an attempt to have root access on my school's physics network computers, I ended up creating a chroot environment, using fakeroot and fakechroot. As every ...
1
vote
0answers
124 views

Need Help Cross Compiling Openssl for MIPS

I've been trying to cross compile Ncat for the MIPS architecture (big endian), and I really need SSL support, so I first must compile OpenSSL. I downloaded the latest version from Github and ...
1
vote
0answers
30 views

Remove package with yum but leave libraries in place?

During setup on a specific set of servers, I need gcc-c++ installed to compile some of the software I am setting up. After install is complete I need to remove the compiler for security reasons. ...
1
vote
0answers
140 views

Errors cross-compiling with distcc

I'm currently attempting a build of the Raspbian kernel using both a cross-compiler (for the Raspberry Pi 2's ARM processor) and distcc, based on the instructions posted at the Raspberry Pi website. I ...
1
vote
0answers
138 views

Error building and compiling GCC 5.2.0 from scratch on Vortex86DX

In order to upgrade a VortexDX86 custom linux with a gcc 3.2.3 compiler, I´m trying to built the GCC 5.2.0 compiler to support the latest C++ 11 standard. I have downloaded its source code from ...
1
vote
0answers
77 views

How do I change the version of GCC that I'm using? Why does GCC still seem to work despite bash telling me the gcc command was not found?

I was trying to follow this tutorial for an introduction to bare metal programming in C on a raspberry pi. One of the first things it recommends is to install the gcc 4.7 toolchain instead of what I ...
1
vote
0answers
131 views

How to change CFLAGS for autogen.sh

I am relatively new to linux. I was trying to rebuild MDM display manager for linux mint from url https://github.com/linuxmint/mdm. In the documentation it is said that you should use ./autogen.sh ...
1
vote
0answers
372 views

How can I install gcc-4.2 g++-4.2 on Linux Mint 17 with gcc-4.8 already installed?

I need an older version of gcc (specifically 4.2) alongside current gcc (4.8) on Linux Mint 17. Default Mint repositories can't find needed package: sudo aptitude install gcc-4.2 No candidate version ...
1
vote
0answers
5k views

Getting “cannot open shared object file: No such file or directory” error while run time

I have successfully compiled the file but now I am getting following errors export LD_LIBRARY_PATH=/opt/mcr/v717/sys/java/jre/glnxa64/jre/lib/amd64/server/:D_LIBRARY_PATH ./invoke ./invoke: error ...
1
vote
0answers
511 views

Building HDF5 with GCC 4.7 and OpenMPI

I am trying to install hdf5 with GCC 4.7 from binary, because I do not have root permissions, using following script on a machine using CentOS release 5.6(AMD64bit): module purge module unload ...
1
vote
0answers
353 views

Install gcc into x86_64-linux-gnu

I'm trying to compile and install gcc-4.9.0 on my Debian system, and in particular I want the new version to overwrite an old version of libstdc++.so.6 in /usr/lib/x86_64-linux-gnu that came as ...
1
vote
0answers
652 views

Problem with configure - cannot find -lgcc_s

I want install Argos 0.5 to Debian 3.12.6-2 (2013-12-29) x86_64 GNU/Linux. I had to install gcc 3.4 because Argos call for it. Now I have gcc 3.4 and gcc 4.8.2-2 too. Problem is that ./configure ...
1
vote
0answers
122 views

Stanford's StanfordCPPLib on Linux

I'm using SUSE Linux 13.1 and self studying Stanford's CS 106B course. Here I have found the following zip file, cs106b-hw2-ngrams-starter-files.zip, and downloaded. Now questions This libs are for ...
1
vote
0answers
306 views

How to install gcc 4-8 on #! Waldorf 64-bit?

I would like to install and use g++ 4-8 compiler. It supports various C++11 features, and I am willing to look into them and use them. Also, as I came here from Windows, my previous files also used ...
1
vote
0answers
142 views

ices-cc (libvorbis) linking fails on Ubuntu 13.04 - lgcc_s not found

I'm trying to compile compile ices-cc into a set of static files on Ubuntu Server 13.04. I use the automatic Centova's build-ices.sh script and use the following command: ./buildices.sh ...
1
vote
0answers
498 views

Error cross compiling linux kernel using buildroot

I am trying to build a kernel bt in cross compiling the kernel when I ran following command make CROSS_COMPILE=i686-linux- ARCH=x86 I got the following error: UCLIB_EXTRA_CFLAGS="" \ ...
0
votes
0answers
25 views

Prune yum of stale installed packages/duplicate gcc packages after manual install

I'm in a weird situation, and maybe I've messed something up and just need to hit the reset button and re-install CentOS. Off a fresh install of CentOS7.1 the other day, I noticed the latest version ...
0
votes
0answers
33 views

Missing library in ia32-libs when compiling with gcc-3.4.6 in 32 bit mode

I installed gcc-3.4 on Ubuntu 14.04 and tried to run a program with the -m32 flag. #gcc --v gcc version 3.4.6 (Debian 3.4.6-5) When trying to run the program I receive the following error ...
0
votes
0answers
32 views

Custom GCC installation - how should I set my environment variables?

After some pains I was finally able to build me a gcc 4.9.3 (I don't have root on the machine I'm working on, and Fedora 22 doesn't package gcc 4.9 anyway). And it even works, i.e. using it to compile ...
0
votes
0answers
48 views

profiling cannot open gcda file

I am compiling file UT_test.c and linking my file using gcc on cygwin environment using flags -fprofile-arcs -ftest-coverage. The objects and gcno are created at location ...
0
votes
0answers
37 views

GCC: library linked several times can cause “multiple definition” errors?

I have a toolchain generated through Buildroot with which I am trying to compile something statically but the build fails with gcc saying something about "multiple definition". Now looking at the ...
0
votes
0answers
22 views

How to use edk2 with gcc 5.1.1

I need to use all of edk2 (on fedora23), so I tried to build gcc 4.4.7 but the instructions didn't work. Is it possible to use gcc 5.1.1? If so, what do I set the TOOL_CHAIN_TAG as in conf/target.txt? ...
0
votes
0answers
26 views

build application with another toolchain rather than the original one

The original tool chain of my computer is x86_64-redhat-linux, but I need to build application that can be used in another different file system. (It means I release the application to other people ...
0
votes
0answers
48 views

Yocto; install python ctypes. “No acceptable c compiler found in $path”

I am trying to install the python module 'ctypes' on a new mediabox (Ezeecube), but it seems there is no c compiler. The system runs on a custom Yocto build, created by the Ezeecube team. It has the ...
0
votes
0answers
43 views

Configure script failed to find C compiler, despite gcc being installed on Sabayon

I have been trying to compile Moksha from source code on a Sabayon SpinBase Virtual Machine, but whenever I run a configure or autogen.sh script I get an error: checking for gcc... gcc checking ...
0
votes
0answers
19 views

Building man-db on android L

After finding that the version of man in Busybox Stericson doesn't print man pages at all on my Nexus 4, I decided to build man-db for android myself. So far, I've done: cd man-db-2.6.7.1 export ...
0
votes
0answers
38 views

How to pass to gcc “-lregex”?

I want to compile a program,bacula under hpux but give me an error about "unsatisfied symbol" i think probably passing the correct lib "-lregex" will solve the problem. But i don't know how to pass to ...
0
votes
0answers
26 views

gcc on debian - Matlab interferes with ffmpeg?

This is a quite confusing problem. I wanted to use youtube-dl and it stops with the following error message from ffprobe (ffmpeg): ffprobe: ...
0
votes
0answers
95 views

build memcached source on centos6.4 64bit fails

I'd like to build memcached from source on centos 6.4 x86_64 but only get following error. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ...
0
votes
0answers
32 views

Building gcc fails

I'm trying to build the gcc nightly but I'm having issues. (This happens each time I update the source, so it's not just a bleeding-edge bug.) I'm following the standard instructions, to wit: cd ...
0
votes
0answers
93 views

Trisquel 7.0 LTS Belenos 64 vs Ubuntu 15.04 64 or Mac OS X 10.10.5 : isl/gcc problem (libisl.so.13 incriminated)

I installed last 64bits trisquel distro recently, I build gcc 5.2.0 from source on it. I used exactly the same installation technique than the one I used (and that worked) on ubuntu 15.04 64bits, ...
0
votes
0answers
75 views

ffmpeg configuration error

I downloaded ffmpeg and followed the README. First thing, ffmpeg needs to be configured. But executing configure (./configure) says ~/Downloads/ffmpeg-2.7.2 $ ./configure gcc is unable to create an ...
0
votes
0answers
125 views

custom gcc install include files

I have a custom installation of g++ 4.8.1 in my home directory. However the include files in that installation have no extensions! (except for tgmath.h, fenv.h, complex.h, and cxxabi.h) Thus even if ...
0
votes
0answers
14 views

Automatic build errors resolving

Again I am compiling from scratch a big OSS project for custom embedded environment and receive a lot of errors like: warning: libXXX, needed by YYY, not found fatal error: XXX: No such file or ...
0
votes
0answers
301 views

How to fix: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found

I need to install doctotext hence in the base directory, I run doctotext.sh and I got the following error (./doctotext: /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found). When I did ...
0
votes
0answers
122 views

Installing gcc offline on a Debian based distro

I installed Kubuntu 14.10 and it doesn't come with gcc compiler. Since I currently don't have Internet access on my laptop, I got the offline version (a tar.gz file) from a friend but I don't know how ...
0
votes
0answers
146 views

GCC “__gmpn_invert_limb” compilation error

I'm currently trying to compile GCC 4.9.2 using GCC 4.2. The problem I have run into is that I have a working GMP installation (6.0.0a) but GCC fails to link to it after a while. The error I get is: ...
0
votes
0answers
37 views

Where to put files?

I downloaded a pre-built cross-compiler, and it had no Makefile, Readme, instructions, or anything. However, it came from a reputable resource, so its not malware or anything (it came from ...