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

mingw/cygwin do not accept asm file as extension source #47191

Closed
tonal mannequin opened this issue May 22, 2008 · 5 comments
Closed

mingw/cygwin do not accept asm file as extension source #47191

tonal mannequin opened this issue May 22, 2008 · 5 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@tonal
Copy link
Mannequin

tonal mannequin commented May 22, 2008

BPO 2942
Nosy @tonal, @tarekziade, @merwok, @zooba
Files
  • cygwinccompiler.diff: Patch for correct problem
  • 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 2021-02-03.18:29:08.207>
    created_at = <Date 2008-05-22.10:23:39.134>
    labels = ['type-feature', 'library']
    title = 'mingw/cygwin do not accept asm file as extension source'
    updated_at = <Date 2021-02-03.18:29:08.206>
    user = 'https://github.com/tonal'

    bugs.python.org fields:

    activity = <Date 2021-02-03.18:29:08.206>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-02-03.18:29:08.207>
    closer = 'steve.dower'
    components = ['Distutils']
    creation = <Date 2008-05-22.10:23:39.134>
    creator = 'shura_zam'
    dependencies = []
    files = ['10399']
    hgrepos = []
    issue_num = 2942
    keywords = ['patch']
    message_count = 5.0
    messages = ['67185', '81173', '108661', '108696', '386414']
    nosy_count = 5.0
    nosy_names = ['shura_zam', 'tarek', 'eric.araujo', 'rpetrov', 'steve.dower']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2942'
    versions = []

    @tonal
    Copy link
    Mannequin Author

    tonal mannequin commented May 22, 2008

    mingw/cygwin do not accept asm file as extension source

    @tonal tonal mannequin added the stdlib Python modules in the Lib dir label May 22, 2008
    @rpetrov
    Copy link
    Mannequin

    rpetrov mannequin commented Feb 4, 2009

    Hi shura_zam,
    I test this patch in bpo-3871 but without success - setup.py don't try
    to build ctypes module. May I ask you to post a sample.

    @terryjreedy
    Copy link
    Member

    Roumen, does your patch in bpo-3871 supercede this issue? Or is it impossible to tell without more info from the OP?

    @rpetrov
    Copy link
    Mannequin

    rpetrov mannequin commented Jun 26, 2010

    Terry, my patch in bpo-3871 don't supersede this issue.
    In patch to bpo-3871 for mingw host I use same work-around as for all other platforms
    Lets see the code of setup.py methods configure_ctypes...(..) :
    .....
    # Add .S (preprocessed assembly) to C compiler source extensions.
    self.compiler.src_extensions.append('.S')
    .....

    a) the patch to this issue didn't works for me;
    b) issue in not only for GCC compiler for cygwin&mingw targets

    @merwok merwok removed the stdlib Python modules in the Lib dir label Aug 24, 2010
    @merwok merwok added the type-feature A feature request or enhancement label Aug 24, 2010
    @merwok merwok added the stdlib Python modules in the Lib dir label Mar 13, 2014
    @zooba
    Copy link
    Member

    zooba commented Feb 3, 2021

    Distutils is now deprecated (see PEP-632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

    If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools

    @zooba zooba closed this as completed Feb 3, 2021
    @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
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants