Project

General

Profile

Actions

Bug #15730

open

gcc: error: -pie is not supported in this configuration

Added by Marcel Telka 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

The -pie option does not work for recent gcc:

$ /usr/gcc/11/bin/gcc -pie a.c
gcc: error: -pie is not supported in this configuration
$ /usr/gcc/10/bin/gcc -pie a.c
gcc: error: -pie is not supported in this configuration
$ /usr/gcc/7/bin/gcc -pie a.c
gcc: error: -pie is not supported in this configuration
$

For gcc 3.4 the option works:
$ /usr/gcc/3.4/bin/gcc -m32 -pie a.c ; echo $?
0
$ /usr/gcc/3.4/bin/gcc -m64 -pie a.c ; echo $?
0
$

No data to display

Actions

Also available in: Atom PDF