Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/bin/ld: -r and -pie may not be used together #22

Open
rtsisyk opened this issue Jan 22, 2017 · 4 comments
Open

/usr/bin/ld: -r and -pie may not be used together #22

rtsisyk opened this issue Jan 22, 2017 · 4 comments

Comments

@rtsisyk
Copy link

rtsisyk commented Jan 22, 2017

Hi,

Rumpctl fails to build on Debian Stretch:

rumpctrl$ ./buildnb.sh
[CUT] 
./rump/bin/rump-cc  -O2 -g -Wall -o bin/cat rumpobj/bin/cat/cat.ro
/usr/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
Makefile:133: recipe for target 'bin/cat' failed

gcc version 6.2.1 20161124 (Debian 6.2.1-5)
GNU ld (GNU Binutils for Debian) 2.27.51.20161201

@yshemesh
Copy link

yshemesh commented Aug 28, 2017

+1

@Aklenor
Copy link

Aklenor commented Feb 14, 2019

+1
linux - 4.15.0-43-generic Ubuntu 18.04
ld - 2.30

@dpadula
Copy link

dpadula commented Jul 25, 2019

Any fix for this?
Distributor ID: Debian
Description: Debian GNU/Linux 9.6 (stretch)
Release: 9.6
Codename: stretch

Same fault at rumpctrl$ ./buildnb.sh

@yjftsjthsd-g
Copy link

This is trivially reproducible on:

(the build manifest linked from each build's page lists the exact steps, but it's just "install dependencies, then git clone and cd rumpctrl/ && git submodule update --init && ./buildnb.sh)

I would include more, but I can't get it to build that far on alpine, freebsd, or fedora :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants