Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571410 - dev-python/twisted-core-15.2.1 fails to compile with CFLAGS="-pie": undefined reference to `main'
Summary: dev-python/twisted-core-15.2.1 fails to compile with CFLAGS="-pie": undefined...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-09 21:29 UTC by Sebastian Pipping
Modified: 2018-04-24 16:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2016-01-09 21:29:08 UTC
[..]
running build_ext
building 'twisted.test.raiser' extension
creating /var/tmp/portage/dev-python/twisted-core-15.2.1/work/TwistedCore-15.2.1-python2_7/temp.linux-x86_64-2.7
creating /var/tmp/portage/dev-python/twisted-core-15.2.1/work/TwistedCore-15.2.1-python2_7/temp.linux-x86_64-2.7/twisted
creating /var/tmp/portage/dev-python/twisted-core-15.2.1/work/TwistedCore-15.2.1-python2_7/temp.linux-x86_64-2.7/twisted/test
x86_64-pc-linux-gnu-gcc -march=core2 -msse4.1 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=6144 -O2 -pipe -fstack-protector-strong -fPIE -pie -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c twisted/test/raiser.c -o /var/tmp/portage/dev-python/twisted-core-15.2.1/work/TwistedCore-15.2.1-python2_7/temp.linux-x86_64-2.7/twisted/test/raiser.o
x86_64-pc-linux-gnu-gcc -shared -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -march=core2 -msse4.1 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=6144 -O2 -pipe -fstack-protector-strong -fPIE -pie -fno-strict-aliasing /var/tmp/portage/dev-python/twisted-core-15.2.1/work/TwistedCore-15.2.1-python2_7/temp.linux-x86_64-2.7/twisted/test/raiser.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/twisted-core-15.2.1/work/TwistedCore-15.2.1-python2_7/lib/twisted/test/raiser.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../lib64/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
[..]
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-24 16:28:42 UTC
Mass reaping of bugs filed against split Twisted packages.  Those packages are replaced by dev-python/twisted, and we can't expect any failures to be fixed upstream for the old versions.