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

Linking with 'ld -b' fails with 64-bit using Itanium HP compiler #75002

Closed
datalogics-robb mannequin opened this issue Jun 30, 2017 · 2 comments
Closed

Linking with 'ld -b' fails with 64-bit using Itanium HP compiler #75002

datalogics-robb mannequin opened this issue Jun 30, 2017 · 2 comments
Labels
3.7 (EOL) end of life build The build process and cross-build

Comments

@datalogics-robb
Copy link
Mannequin

datalogics-robb mannequin commented Jun 30, 2017

BPO 30819
Nosy @vstinner, @datalogics-robb, @iritkatriel
PRs
  • bpo-30183: Modify configure to link with the compiler driver under HP-UX #2519
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-01-17.23:00:06.604>
    created_at = <Date 2017-06-30.16:56:50.053>
    labels = ['build', '3.7']
    title = "Linking with 'ld -b' fails with 64-bit using Itanium HP compiler"
    updated_at = <Date 2022-01-17.23:00:06.602>
    user = 'https://github.com/datalogics-robb'

    bugs.python.org fields:

    activity = <Date 2022-01-17.23:00:06.602>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-17.23:00:06.604>
    closer = 'iritkatriel'
    components = ['Build']
    creation = <Date 2017-06-30.16:56:50.053>
    creator = 'Robert Boehne'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30819
    keywords = []
    message_count = 2.0
    messages = ['297432', '410829']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'Robert Boehne', 'iritkatriel']
    pr_nums = ['2519']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue30819'
    versions = ['Python 3.7']

    @datalogics-robb datalogics-robb mannequin added 3.7 (EOL) end of life build The build process and cross-build labels Jun 30, 2017
    @datalogics-robb
    Copy link
    Mannequin Author

    datalogics-robb mannequin commented Jun 30, 2017

    Setting compiler flags to +DD64 produces 64-bit objects, but the linker does not understand this flag, so either you'll see an ld failure to recognize +DD64 at link time, or you'll see a failure later mixing 32 and 64-bit objects.

    I also modified the C++ variable because that's obviously needed as well.
    There was an issue with configure - after modifying one and adding another line in configure.ac, autoconf 2.69 removed all instances of "runstatedir" in the generated configure script, so I made my intended change to configure in an editor as well.

    @datalogics-robb datalogics-robb mannequin changed the title Linking with 'ld -b' fails with 64-bit using HP compiler Linking with 'ld -b' fails with 64-bit using Itanium HP compiler Jun 30, 2017
    @iritkatriel
    Copy link
    Member

    Robert's PR was merged so I'm assuming this is fixed. Reopen or create a new issue if not.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life build The build process and cross-build
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant