Questions tagged [gcc4.8]

Version 4.8.x of the GNU Compiler Collection. The C compiler is the de facto for Linux (though not all versions of Linux use version 4.8.x),. The compiler collection supports many other languages and platforms as well.

GCC version 4.8.x is a major release of the GNU Compiler Collection. Version 4.8.0 was released on 2013-03-22. Version 4.8.5 was released on 2015-06-23.

See also:

122 questions
0
votes
0 answers

std::vector not initialized by default ctor

I encountered some strange behaviour with GCC-4.8 while initializing std::vector within default ctor of class. My code is the following: class TestLogger final: public Logger { public: void LogWarning(const std::string& msg,) const override{ …
user11164492
0
votes
1 answer

undefined Reference to "_ZNSt5__padIcSt11char_traitsIcEE6_S_padERSt8ios_basecPcPKcllb" symbol is not exported from libstdc++.a(libstdc++.so.6)

I am able to build my code successfully but getting following error while trying to run it. I am on AIX7.1 using GCC4.8.5. 0509-130 Symbol resolution failed for libadobelinguistic.a because: 0509-136 Symbol…
BitMask
  • 314
  • 2
  • 9
0
votes
1 answer

Log4cplus: integrate regular expression in filters on gcc 4.8.5

Log4cplus has the spi::StringMatchFilter filter, which enables a simple matching of a string or sub-string to the log message (event message). I have gcc version 4.8.5 and what I would like to do is add to the Log4cplus the ability for filtering log…
N.avraham
  • 333
  • 2
  • 15
0
votes
0 answers

undefined Reference to std::type_info::operator==(std::type_info const&) const: 0509-036 Cannot load program on AIX7.1 using GCC4.8.5

I am able to Build my project on Linux and AIX successfully but I'm facing following error while trying to run it. exec(): 0509-036 Cannot load program ./xmlformcmd because of the following errors: rtld: 0712-001 Symbol _ZNKSt9type_infoeqERKS_ was…
BitMask
  • 314
  • 2
  • 9
0
votes
1 answer

Was including necessary in GCC 4.8?

I have inherited a C++ project that was written in 2014 and indeed compiles with GCC 4.8. In a particular file, several classes currently found in the header of C++ standard library are instantiated. These include mt19937, random_device,…
Adam Sperry
  • 283
  • 1
  • 9
0
votes
0 answers

Cant read from std::cin while reading from serial port using libserial

I am trying to read from the serial port using libserial. The code sets up the serial port communication with the sensor(arduino) and then asks for an input from the user for reading data from serial port for a fixed number of times. The code…
user27665
  • 673
  • 7
  • 27
0
votes
1 answer

Error in building Microsoft's CNTK on Arch Linux: libCntk.Eval-2.0.so complains about undefined reference to TensorView

I am trying to build CNTK from the source on Arch Linux. git commands: git clone https://github.com/Microsoft/CNTK cd CNTK git submodule sync --recursive git submodule update --init --recursive configure and make commands: ./configure…
imriss
  • 1,815
  • 4
  • 31
  • 46
0
votes
1 answer

un-demanglable symbol made by GCC

I found the following symbol in Factorio's binary and found passing it through C++filt couldnt demangle it, and possible reason this could be occuring? Done using objdump, and the detected compiler version is…
moonheart08
  • 115
  • 1
  • 9
0
votes
1 answer

error ODB runtime version mismatch

Is there anyone that can resolve this issue for me? It is way above my pay grade. I have been struggling to install odb and it's dependencies for some time now, and had to resort to doing that manually vs Homebrew (which I normally use). This is…
Dylan_Larkin
  • 503
  • 4
  • 15
0
votes
1 answer

Configure gcc-4.8.5 to include GLIBCXX_3.4.20 on centos6

Hi folks i've been searching for solutions to this problem for days but none of the methods posted online worked for me. Basically I'm trying to install NodeGit library on my production server (centos-release-6-8.el6.centos.12.3.x86_64). Doing npm…
Calvin Hu
  • 3,595
  • 4
  • 18
  • 23
0
votes
1 answer

Move operations for a class with a thread as member variable

I'm trying to expand with what some people helped me here Call function inside a lambda passed to a thread so my worker class can support a move constructor and a move operator=, but I have the problem that my class is binding this by copy (or…
aram
  • 1,415
  • 13
  • 27
0
votes
2 answers

Building only gcc using yocto

I was trying to build only gcc using yocto. I tried with "bitbake-layers show-recipes" it was showing multiple recipes for gcc, similarly for bitbake -s. #bitbake-layers show-recipes gcc: meta 4.8.2 gcc-cross: meta …
Ravi A
  • 421
  • 2
  • 9
  • 21
0
votes
1 answer

Compile error with GCC when using variable arguments

I have a function that works with variable arguments and looks like this: static int getIntValue(const int min,const int max,va_list *vl) { int listValue; listValue=va_arg(*vl,int); if (listValue
Elmi
  • 5,899
  • 15
  • 72
  • 143
0
votes
1 answer

Custom GCC 4.8.2 on RHEL6 gives build error with std::shared_ptr

I am using CMake 2.8.11 and GCC 4.8.2. I was building some C++ code which used std::shared_ptr which built fine in MS VS 2012 but when I tried the same on RHEL6 using GCC 4.8.2, I promptly ran into the following error: error: 'shared_ptr' is not a…
squashed.bugaboo
  • 1,338
  • 2
  • 20
  • 36
0
votes
0 answers

Run gcc-4.8 on 32-bit Ubuntu 14.04, as: unrecognized option '--32'

I just installed 32-bit Ubuntu 14.04 and gcc/g++ 4.8 on my machine. I wrote a simply hello.c and compiled with command, g++ hello.c -o hello And it gave me the error that, as: unrecognized option '--32'. And I am surprised I did not find any result…
CodingFanSteve
  • 713
  • 2
  • 6
  • 17
1 2 3
8 9