Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid HPPA assembly code: large displacements #3923

Closed
vicuna opened this issue Dec 14, 2005 · 2 comments
Closed

Invalid HPPA assembly code: large displacements #3923

vicuna opened this issue Dec 14, 2005 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Dec 14, 2005

Original bug ID: 3923
Reporter: jcristau
Status: closed (set by @damiendoligez on 2005-12-15T12:14:30Z)
Resolution: not fixable
Priority: normal
Severity: minor
Version: 3.09.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: fw

Bug description

At Debian, we experience problems with the native code compiler on
HPPA. The compiler generates invalid assembler input which includes
displacements that are beyond the capabilities of this architecture.
For example, when compiling a large module, a BL instruction is
emitted which branches to a global label which is more than 64K
instructions away from the start of the text section in that object
file (which apparently cannot be expressed in an ELF relocation; a
relocation is needed to implement the ELF linking semantics).

Additional information

I'm forwarding here a messaged posted to caml-list by Florian Weimer, hoping that it will be easier to track here. The original message has message-id 87u0dfk5yx.fsf@mid.deneb.enyo.de.
See the corresponding debian bug report at http://bugs.debian.org/342704, and the build log linked from that page.

@vicuna
Copy link
Author

vicuna commented Dec 14, 2005

Comment author: jcristau

Oops, this should have been filed in the OCaml category, and probably not as a major bug; sorry for this.

@vicuna
Copy link
Author

vicuna commented Dec 15, 2005

Comment author: @damiendoligez

This is due to architectural limitations of HPPA. Too hard to fix without control of the linker,
and the HPPA port is essentially dead as far as we are concerned.

@vicuna vicuna closed this as completed Dec 15, 2005
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant