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

check for true in diffrent paths, -pthread support #38544

Closed
marc mannequin opened this issue May 24, 2003 · 5 comments
Closed

check for true in diffrent paths, -pthread support #38544

marc mannequin opened this issue May 24, 2003 · 5 comments

Comments

@marc
Copy link
Mannequin

marc mannequin commented May 24, 2003

BPO 742741
Nosy @loewis
Files
  • configure.in.diff.bz2: configure.in patch
  • configure.in-2.diff.gz: configure.in patch
  • 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 2003-05-26.05:38:20.000>
    created_at = <Date 2003-05-24.15:52:07.000>
    labels = []
    title = 'check for true in diffrent paths, -pthread support'
    updated_at = <Date 2003-05-26.05:38:20.000>
    user = 'https://bugs.python.org/marc'

    bugs.python.org fields:

    activity = <Date 2003-05-26.05:38:20.000>
    actor = 'loewis'
    assignee = 'none'
    closed = True
    closed_date = None
    closer = None
    components = ['None']
    creation = <Date 2003-05-24.15:52:07.000>
    creator = 'marc'
    dependencies = []
    files = ['5322', '5323']
    hgrepos = []
    issue_num = 742741
    keywords = ['patch']
    message_count = 5.0
    messages = ['43841', '43842', '43843', '43844', '43845']
    nosy_count = 2.0
    nosy_names = ['loewis', 'marc']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue742741'
    versions = []

    @marc
    Copy link
    Mannequin Author

    marc mannequin commented May 24, 2003

    This patch fixes/adds two things in configure.in

    1. add support for the "-pthread" CC flag . (Tested on
      NetBSD-current, should work on FreeBSD and Linux, too)
    2. /bin/true isn't available on NetBSD, so check for it
      in different places.

    @marc marc mannequin closed this as completed May 24, 2003
    @marc marc mannequin closed this as completed May 24, 2003
    @marc
    Copy link
    Mannequin Author

    marc mannequin commented May 24, 2003

    Logged In: YES
    user_id=205

    Forgot to mention that it's against Python 2.3cvs

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented May 24, 2003

    Logged In: YES
    user_id=21627

    I just noticed a problem with the entire -Kthread/-Kpthread
    approach: there are specific additional checks needed for
    pthreads, e.g. for SCOPE_SYSTEM, for various Solaris
    versions, etc. Those need to happen independently of the
    means to activate threads. Would you please revise your
    patch to address this issue as well?

    @marc
    Copy link
    Mannequin Author

    marc mannequin commented May 25, 2003

    Logged In: YES
    user_id=205

    Seperated some pthread related checks. They're happen now
    after the detection of the thread library and only if
    "$posix_threads" = "yes".

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented May 26, 2003

    Logged In: YES
    user_id=21627

    Thanks for the patch. Applied as

    configure 1.401
    configure.in 1.412

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants