Skip to content

gcc ABI incompatibility #227

@c0g

Description

@c0g

setup.py assumes tensorflow was compiled by gcc 4.x. My tensorflow is compiled with 5.x, so the line:

    if gcc_version == 5:
        compile_command += " -D_GLIBCXX_USE_CXX11_ABI=0"

causes an undefined symbol error. Removing it makes everything work. I'm not sure if there's a way to work out which ABI tensorflow was compiled with.

Probably not going to get many people, but might worth making a note in the readme or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions