Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573560 - sys-devel/gcc: missing lgcc_s?
Summary: sys-devel/gcc: missing lgcc_s?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-01 01:15 UTC by Raymond Jennings
Modified: 2016-02-08 04:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo.txt,6.10 KB, text/plain)
2016-02-01 01:15 UTC, Raymond Jennings
Details
error output (err,674 bytes, text/plain)
2016-02-01 01:17 UTC, Raymond Jennings
Details
output of qlist (qlist,107.77 KB, text/plain)
2016-02-08 04:14 UTC, Raymond Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2016-02-01 01:15:31 UTC
The lgcc_s library is missing when attempting to create a relocatable .o file.
Comment 1 Raymond Jennings 2016-02-01 01:15:51 UTC
Created attachment 424374 [details]
emerge --info
Comment 2 Raymond Jennings 2016-02-01 01:17:09 UTC
Created attachment 424376 [details]
error output
Comment 3 SpanKY gentoo-dev 2016-02-08 03:30:25 UTC
please attach:
- the full build log of the package that is failing
- the full build log for the gcc version you're using
- the output of `qlist sys-devel/gcc`
- the output of `qcheck sys-devel/gcc`
Comment 4 Raymond Jennings 2016-02-08 04:13:52 UTC
The package is my own code that I'm developing:

g++ -ggdb3 -I ../include -c multiply.cpp -o multiply.o
g++ -ggdb3 -I ../include -c oscillator.cpp -o oscillator.o
g++ -ggdb3 -I ../include -c noise.cpp -o noise.o
g++ -ggdb3 -I ../include -c volume.cpp -o volume.o
g++ -ggdb3 -I ../include -c relay.cpp -o relay.o
g++ -ggdb3 -I ../include -c component.cpp -o component.o
g++ -ggdb3 -I ../include -c generator.cpp -o generator.o
g++ -ggdb3 -I ../include -c bias.cpp -o bias.o
g++ -ggdb3 -I ../include -c add.cpp -o add.o
g++ -ggdb3 multiply.o oscillator.o noise.o volume.o relay.o component.o generator.o bias.o add.o -r -o built-in.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc_s
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
Makefile:14: recipe for target 'built-in.o' failed
make: *** [built-in.o] Error 1
Comment 5 Raymond Jennings 2016-02-08 04:14:51 UTC
Created attachment 424872 [details]
output of qlist
Comment 6 Raymond Jennings 2016-02-08 04:15:50 UTC
output of qcheck:

Checking sys-devel/gcc-4.9.3 ...
 MD5-DIGEST: /etc/env.d/gcc/x86_64-pc-linux-gnu-4.9.3
  * 1758 out of 1759 files are good
Checking sys-devel/gcc-config-1.7.3 ...
  * 6 out of 6 files are good