Issue Details (XML | Word | Printable)

Key: PCC-20
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Matthew Cashdollar
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
pcc

assembler relocation overflow on sparc64

Created: 12/Jan/09 05:33 PM   Updated: 30/Oct/09 03:29 PM
Component/s: sparc64 target
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File foo.c (2 kB)

Environment: OpenBSD persephone.internal 4.4 GENERIC#1715 sparc64


 Description  « Hide
I am trying to compile a simple program (attached) which opens a TCP socket.

Here is what happens:
mpc@persephone:~/oldcode/foo% pcc -o foo foo.c
/tmp/ctm.Ww4617: Assembler messages:
/tmp/ctm.Ww4617:312: Error: relocation overflow
/tmp/ctm.Ww4617:314: Error: relocation overflow
/tmp/ctm.Ww4617:326: Error: relocation overflow
/tmp/ctm.Ww4617:337: Error: relocation overflow
/tmp/ctm.Ww4617:347: Error: relocation overflow
/tmp/ctm.Ww4617:350: Error: relocation overflow
/tmp/ctm.Ww4617:361: Error: relocation overflow
/tmp/ctm.Ww4617:375: Error: relocation overflow
/tmp/ctm.Ww4617:387: Error: relocation overflow
/tmp/ctm.Ww4617:390: Error: relocation overflow
/tmp/ctm.Ww4617:393: Error: relocation overflow
/tmp/ctm.Ww4617:408: Error: relocation overflow
/tmp/ctm.Ww4617:410: Error: relocation overflow
/tmp/ctm.Ww4617:416: Error: relocation overflow
/tmp/ctm.Ww4617:418: Error: relocation overflow
/tmp/ctm.Ww4617:427: Error: relocation overflow
/tmp/ctm.Ww4617:432: Error: relocation overflow
/tmp/ctm.Ww4617:443: Error: relocation overflow
/tmp/ctm.Ww4617:460: Error: relocation overflow
/tmp/ctm.Ww4617:466: Error: relocation overflow
/tmp/ctm.Ww4617:468: Error: relocation overflow
/tmp/ctm.Ww4617:474: Error: relocation overflow
/tmp/ctm.Ww4617:479: Error: relocation overflow
/tmp/ctm.Ww4617:495: Error: relocation overflow
/tmp/ctm.Ww4617:497: Error: relocation overflow
/tmp/ctm.Ww4617:505: Error: relocation overflow
/tmp/ctm.Ww4617:509: Error: relocation overflow
/tmp/ctm.Ww4617:512: Error: relocation overflow
/tmp/ctm.Ww4617:514: Error: relocation overflow
/tmp/ctm.Ww4617:517: Error: relocation overflow
/tmp/ctm.Ww4617:522: Error: relocation overflow
/tmp/ctm.Ww4617:527: Error: relocation overflow
/tmp/ctm.Ww4617:532: Error: relocation overflow


Other simpler programs like "Hello world" compile with no problems.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Matthew Cashdollar added a comment - 12/Jan/09 05:34 PM
also it does work with gcc

Anders Magnusson added a comment - 17/Jan/09 08:39 AM
Unfortunately the maintainer of the sparc64 port are quite out-of-time, so not much is expected to happen here.

Anders Magnusson added a comment - 30/Oct/09 03:29 PM
Newly checked-in fixes from Lars Zetterlund fixes this issue.