rumpkernel / rumpctrl

Control and diagnostic applications for rump kernels
Other
36 stars 16 forks source link

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

Open rtsisyk opened 7 years ago

rtsisyk commented 7 years ago

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 commented 7 years ago

+1

Aklenor commented 5 years ago

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

dpadula commented 5 years ago

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 commented 4 years ago

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 :\