Project

General

Profile

Bug #8144

espeak build on SPARC stops with a PIC error

Added by Gary Mills over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2017-05-02
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

A build of the espeak component of oi-userland on SPARC hardware stops with the following error:

ld: fatal: too many symbols require 'small' PIC references:
        have 1095, maximum 1024 -- recompile some modules -K PIC.

The solution is to modify patch 01-makefile.patch so that it invokes the x_%.o rule with -fPIC instead of -fpic . According to the gcc man page, this option makes no difference on x86 hardware, but it does increase the size of the relocation table on SPARC hardware.

History

#1

Updated by Alexander Pyhalov over 2 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF