Questions tagged [libgcc]

67 questions
1
vote
1 answer

Math symbols missing from AVR libgcc

I have some AVR assembly which was generated for an unknown version of GCC. I can assemble this source into object code, but if I try to link it I am told that it contains undefined symbols. Specifically, I am missing the following…
seanmk
  • 1,934
  • 15
  • 28
1
vote
2 answers

GCC depends on GNU assembler when building libgcc?

I am trying to build GCC 4.7.3. When I am building it with pretty old system GCC 4.1 everything is ok and I get GCC 4.7.3. But when I am trying to rebuild it with just compiled GCC 4.7.3 (actually build itself) I get in troubles with AS (GNU…
Sap
  • 914
  • 1
  • 6
  • 20
1
vote
1 answer

LFS 7.2 glibc-2.16.0 make error

I'm building an LFS system ( refering to LFS 7.2 ) I got this make error while building glibc-2.16.0: /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.7.1/../../../../i686-lfs-linux-gnu/bin/ld: cannot find -lgcc_s collect2: error: ld returned 1…
AniketGM
  • 901
  • 1
  • 9
  • 17
0
votes
3 answers

MonoTouch 3rd Party Library Works With 4.2 But Not 5.0

I have a third party library which I finally have working within my MonoTouch app. However, it will only compile for the simulator when I set the SDK to 4.2. If I set it to 5.0, the linker will fail. It will compile to 5.0 for an actual device. What…
0
votes
0 answers

Missing ldd shows "not found" "libgcc_so.s.1" but ldconfig shows it is installed running lmstat

I am trying to run the "lmstat" application inside a debian:bookworm docker container. Executing the ldd command on it shows a missing library: root@ce6a20e3afbc:/lib32# ldd / opt/cad/cadence/IC616/tools/bin/lmstat linux-gate.so.1…
Mudo
  • 207
  • 3
  • 8
0
votes
0 answers

Why does building libgcc require crti.o and -lc?

To build a full libgcc with libc support, you need the libc headers, according to these guides (see also the --without-headers option in gcc configuration…
discape
  • 337
  • 1
  • 15
0
votes
0 answers

RISC-V toolchain: lds file may make some irrelevant instructions

I want to use risc-v toolchain to compile a simple c code to test my processor. And I refer to PicoRV32's firmware file for my own test.lds : SECTIONS { .memory : { . = 0x000000; *(.init); *(.text); *(*); …
0
votes
0 answers

build libgcc for mips with micromips

I am trying to build cross compiler gcc for mips architecture. Build and host are x86_64 and target is mips. I also want -micromips built version of libgcc. I am able to build and install binutils and bootstrap gcc as below: TARGET=mips-sde-elf cd…
Nima
  • 23
  • 5
0
votes
0 answers

cannot find Scrt.o and crti.o

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 push msg call printf mov eax, 0 mov esp, ebp …
user16665136
0
votes
1 answer

libgcc and libstdcplusplus rpms version supported by node 14 LTC (v14.15.4)

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 earlier for AIX 6.1 and AIX 7.1 was 4.9.2-1 but now we…
0
votes
1 answer

While building GCC 8.5.0: "error: `CC' has changed since the previous run"

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 gcc.pod make[3]: Leaving directory…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

In Ubuntu (and Debian), what does -s4 mean in libgcc-s4?

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 (exactly 1 for m68k and 1 for hppa). What do those…
DannyNiu
  • 1,313
  • 8
  • 27
0
votes
0 answers

Errors in installing Homebrew and git

I am trying to work on a linux based external server. I need to install Homebrew and anaconda. So, I have installed anaconda as usual in my home directory. But when I tried to install homebrew, I get the following errors: fatal: packfile…
Anik Dutta
  • 29
  • 6
0
votes
0 answers

I am trying to build a repo and keep getting "libgcc_s.so.1: version `GCC_7.0.0' not found (required by /usr/lib32/libstdc++.so.6)"

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 am new to Linux and not sure what might be the…
Ali
  • 39
  • 7
0
votes
1 answer

Compile not optimized Libgcc for ARM

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 excluding ieee754-sf.s ( in libgcc/config/arm ) to…