Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
181 views

For GCC's __int128 type __int128 div128(__int128 a, __int128 b) {return a / b;} GCC will generate a call to __divti3 instead of inline assembly. So where is this actually defined? Github's search ...
qwr's user avatar
  • 11.6k
1 vote
2 answers
356 views

I'm building the following program in Rust: fn main() { println!("Hello, world!\n"); } on a Devuan Excalibur system (like Debian Trixie but without systemd; rustc version 1.84). After ...
einpoklum's user avatar
  • 138k
5 votes
1 answer
711 views

Context I have a bunch of C/C++ code on Linux that I need to build on a Linux host machine and run inside a custom container solution (clean Linux). In order to be able to run the program inside my ...
Ispas Claudiu's user avatar
0 votes
0 answers
959 views

I need to use the C standard to compile with my POSIX implementation. I downloaded the precompiled lib of gcc-11.2, but after unzipping, I am facing libgcc.a and libc.a libraries. I tried to compile ...
Eoa's user avatar
  • 1
1 vote
1 answer
147 views

I want to use GNU libc's backtrace() and backtrace_symbols_fd() functions in a signal handler. However, the backtrace docs page tells me to make sure that libgcc is loaded already in that case. But ...
StrawHat's user avatar
  • 347
0 votes
1 answer
114 views

I disassembled some C++ code with the avr-gcc compiler in godbolt and often found calls to libgcc subroutines like __udivmodhi4 or __mulhi3. Where can I find good and insightful documentation about ...
Lars Schubert's user avatar
2 votes
1 answer
221 views

Is there somewhere an overview for functions in libgcc, which functions are used for a specific architecture (amd64, ARMv8, ...) ? Major projects like Linux or U-Boot uses their own implementation of ...
user avatar
3 votes
1 answer
15k views

I am trying to deploy some code onto a remote Raspberry Pi CM4 hub running BalenaOS. However, my build has been failing while trying to install the netifaces library. The error message is as follows: ...
masonkimbell's user avatar
2 votes
2 answers
2k views

I am trying to link a shared library I have no control on. This library has an undefined symbol (nm output): U __aarch64_swp1_acq_rel Which seems to be defined in libgcc.a: [user@fedora ~]$ nm -a /usr/...
Anna's user avatar
  • 23
3 votes
1 answer
139 views

I'm not very experienced in the world of C programming, I just worked with arduino before, and I decided to get my feet more wet by doing a project on an ATtiny13 without using the Arduino IDE, only ...
Amine Kchouk's user avatar
0 votes
0 answers
2k views

I am trying to compile my assembly code global main extern printf section .data msg db "Testing %i...", 0x0a, 0x00 section .text main: push ebp mov ebp, esp push 123 ...
user avatar
0 votes
1 answer
253 views

I have a query regarding which gcc versions are supported by node js 14 LTC as in my project we recently upgraded to node js 14 LTC and the libgcc and libstdcplusplus rpms version that were used ...
ananya-singh-afk's user avatar
0 votes
1 answer
3k views

I'm building GCC 8.5.0 on a Devuan Chimaera GNU/Linux system (using GCC 10). I've configured with ./configure --disable-gnat, then ran make. At some point, I get: echo timestamp > s-selftest-c rm ...
einpoklum's user avatar
  • 138k
2 votes
0 answers
1k views

From the GCC installation configuration docs, you can pass this in as a parameter when configuring GCC. --disable-threads Specify that threading support should be disabled for the system I've done ...
Ryan Stankiewicz's user avatar
0 votes
1 answer
88 views

While checking for libgcc for preparing for a cross-compilation environtment, I noticed that there are some libgcc-s[124]-{arch} packages - there's many s1 packages, but only few s2 and s4 packages (...
DannyNiu's user avatar
  • 1,671
10 votes
1 answer
4k views

I'm using Anaconda 4.10.3, with Python 3.9.7, Scipy 1.7.1 on Ubuntu 16.04.6. A script I need to run uses Scipy's optimize and it throws the following error: ImportError: /usr/lib/x86_64-linux-gnu/...
vpk's user avatar
  • 1,320
1 vote
0 answers
3k views

I am using Ubuntu 18.04 with gcc 8 installed. I am trying to build a repo but keep getting the following error: libgcc_s.so.1: version `GCC_7.0.0' not found (required by /usr/lib32/libstdc++.so.6) I ...
Ali's user avatar
  • 59
1 vote
1 answer
282 views

While experimenting with code to convert double to text, I am comparing results of my routine to those from standard library. For the number and formatting in the title, my routine returns 0.0039062 ...
Mirek Fidler's user avatar
8 votes
1 answer
221 views

I am experimenting with optimizing double->text conversion (trying to beat grissu, ryu etc...). While doing so, I am comparing my results with sprintf outputs. Now I have encountered the above ...
Mirek Fidler's user avatar
0 votes
1 answer
230 views

Good morning, I need to compile libgcc from scratch without deploying the ARM optimized version which is defined in ieee754-sf.s in the ARM back-end. Does anyone knows how to configure GCC for ...
Enrico Tabanelli's user avatar
0 votes
1 answer
655 views

my dockerfile is as below: FROM wordpress:5.5.1-php7.4 RUN echo 'deb http://ftp.us.debian.org/debian sid main' >> /etc/apt/sources.list RUN apt-get update && \ apt-get install -y wget ...
Reddipalle Nagarjun's user avatar
0 votes
1 answer
603 views

Overview: I am trying to deploy a web app that uses OpenCV and Tensorflow to classify facial expression of a person. So a person uploads a picture and the app produces a bounding box around the face ...
Manas Sambare's user avatar
1 vote
0 answers
598 views

According to the GCC ABI Policy and Guidelines page I get that they try to maintain forward compatibility but I wonder to what extend this is true or if I'm missing something. I am currently trying to ...
foke's user avatar
  • 1,389
1 vote
1 answer
3k views

First of all I am in a Debian VPS without SUDO permissions, without possibility of installing anything. I want to run a program: ./program And it informs me that it needs libgcc_s.so.1: ERROR: ld....
Martín's user avatar
  • 11
0 votes
0 answers
1k views

I want to install ws-rtsp-proxy_1.8-4_armhf.deb in my armhf7 board while doing this I got the error. But I have all the dependencies which I have attached below. root@rt-work:~# apt-get install ./ws-...
rahul's user avatar
  • 11
0 votes
1 answer
329 views

Add -funwind-tables when cross-compiling, you can successfully unwind backtrace through the interface(_Unwind_Backtrace and _Unwind_VRS_Get) in the libgcc library. But when I added the -O2 option at ...
W_xy's user avatar
  • 1
5 votes
0 answers
2k views

I am trying to compile a Rust program with statically linked libgcc. The program is meant to run in initramfs in a restricted environment and is compiled for different platforms (arm, x86_64). ...
Thomas's user avatar
  • 391
0 votes
1 answer
103 views

I am working for migrating to LibC++ from Gnustl and I am observing an overall 8-10% Increase in size after migrating to LibC++ from gnustl in Android. Few additional dependencies that we have added ...
Bhupesh Pant's user avatar
  • 4,409
0 votes
0 answers
723 views

For an STM32F7, which includes instructions for double floating points, I want to convert an uint64_t to double. In order to test that, I used the following code: volatile static uint64_t m_testU64 =...
benjarobin's user avatar
  • 4,547
0 votes
0 answers
266 views

$uname -i x86_64 $ uname -r 4.15.0-041500-generic I am trying to compile that gets memory map of a system. The OSDev shows some code how that can be done. The code is as follows: // running in real ...
BODDU MANOHAR REDDY's user avatar
2 votes
0 answers
2k views

Good afternoon, If I'm here today is because I encounter some compilation problems. For a project, I would like to compile gcc in order to have libgcc.a and libstd++.a for 32 bits. Unfortunatly I ...
trenzalore's user avatar
0 votes
1 answer
2k views

My problem happens to be with FFmpeg but I suspect that this would happen with almost any C library. Problem Description My app uses FFmpeg that is compiled with NDK r10e. I am trying to update ...
fpsulli3's user avatar
  • 403
0 votes
1 answer
187 views

I have a third-party library which depends on libgcc_s_sjlj-1.dll. My own program is compiled under MSYS2 (mingw-w64) and it depends on libgcc_s_dw2-1.dll. Please note that the third-party library is ...
hytparadisee's user avatar
7 votes
1 answer
2k views

I am currently trying to compile all my applications' dependencies as a static library. My motivation: Not to rely on any OS provided libraries in order to have a perfectly reproducible code base ...
user823255's user avatar
  • 1,030
2 votes
2 answers
6k views

I'm trying to make a standalone compile of the kernel for my android phone, using Google Toolchain, and have already tried Uber and linarc. All of them give the same error, which I don't understand: ...
theimpulson's user avatar
0 votes
0 answers
135 views

I have been using Octave 4.03 for about a year on Windows 10 platform. All at a sudden, when I was trying to launch Octave GUI as usual, I recieved the following error message: File libgcc_s_dw2-1....
Hmath's user avatar
  • 101
2 votes
1 answer
2k views

I am trying to use healpy the python implementation of HEALPiX. I'm on Ubuntu, using anaconda2. I pip install healpy==1.9.1 and check with conda list that it is installed, and that it is using the ...
ben thorne's user avatar
19 votes
2 answers
37k views

I've successfully build several 32 bit, static and Shared, libraries on Linux x86_x64 and I'm now trying to link them together to an executable and I get the following error: /usr/bin/ld: foo.so: ...
Gil-Mor's user avatar
  • 721
1 vote
1 answer
843 views

I am writing an application and I would like to use GCC 4.8 on rhel7. My problem is that I need to use a 3rd party shared lib which was built using GCC 4.4 built on rhel6.
Snooze7's user avatar
3 votes
2 answers
3k views

Trying to compile gcc on an armhf embedded device but it halts when trying to compile libgcc with xgcc saying it can't find sys/cdefs.h libc6 and libc6-dev are already installed and cdefs.h can be ...
normad's user avatar
  • 115
1 vote
0 answers
323 views

I'm trying to compile tensorflow on an embedded linux device and i keep running into this error, /usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o): In function `__gnu_h2f_ieee': (.text+0x11a): ...
normad's user avatar
  • 115
1 vote
1 answer
6k views

I have a Windows 7 64bit system with the latest MinGW (32bit) installed along with the Qt 5.5 SDK (again 32bit) which also ships with its own MinGW. Due to the fact that I'm not the only one using the ...
rbaleksandar's user avatar
  • 9,862
0 votes
1 answer
1k views

I want to find source code implementation of these functions based on soft floating point __aeabi_dcmpeq __aeabi_dcmplt __aeabi_dmul Basically, I want to to use soft floating point implementation ...
user3674043's user avatar
0 votes
1 answer
661 views

I am trying to get the math routines from Compiler RT working with a GCC toolchain for the ARM Cortex M3/M4F processors (armv7m and armv7em with fpu). I have everything compiling (with minimal ...
TylerG's user avatar
  • 13
6 votes
2 answers
6k views

I'm trying to compile gcc5.3.0 on my Raspberry Pi with latest Raspbian system image. $ ./configure --enbale-checking=release --enable-languages=c,c++,fortran --host=arm-cortexa7_neon-linux-gnueabihf ...
Cocoa's user avatar
  • 105
0 votes
2 answers
2k views

I am trying to install fbi on Debian 7.8 by using apt-get install fbi, but I get an error message containing the following: libgcc1 : Depends: gcc-5-base (= 5.5.1-14) but it is not installable. ...
Anas's user avatar
  • 263
0 votes
1 answer
157 views

I get this error from the console: [2016-01-02 19:11:15 - google-play-services_lib] /home/fibrahim/Unduhan/android-sdk-linux/build-tools/23.0.2/aapt: error while loading shared libraries: libgcc_s.so....
fikri's user avatar
  • 17
0 votes
1 answer
652 views

I am trying to use Tesseract to have OCR functionality in a Java application. To achieve this, I am using the Java/Tesseract bridge found here. pom.xml dependency: <dependency> <groupId&...
Kurtibert's user avatar
  • 710
1 vote
1 answer
191 views

As far as I understand, libgcc implements some libc functions which are called into when a program uses a built-in and gcc decides not to implement it by some inline assembly. Is it however possible ...
Troels Folke's user avatar
0 votes
1 answer
378 views

When I compile my program with the command gcc -o ****** -Xlinker -Bstatic -L/usr/lib -lf2c -lm an error occurs usr/bin/ld: cannot find -lgcc_s Who can tell me the way to solve this error? The ...
hongbinLi Peter's user avatar