Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Ubuntu 22.04 ./install.sh Error: "R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE" #291

@DeadbeatJeff

Description

@DeadbeatJeff

I am running Ubuntu GNU/Linux 22.04 and trying to run the ./install.sh linux script. I get the error

/usr/bin/ld: stage4/generate_c/libstage4_c.a(stage4.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE

when I try running the script. I have tried editing the Makefile in the stage4/generate_c/ folder to include -no-pie, -fPIC, and -fPIE, but the Makefile appears to be regenerated with the g++ command without these flags whenever I run the ./install.sh linux command.

May anyone assist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions