Skip to content

Building Node.js broken when using ccache #40542

Closed
@GeoffreyBooth

Description

@GeoffreyBooth

Version

master @ f233cb2

Platform

Darwin Geoffreys-MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64

What steps will reproduce the bug?

  1. Follow the instructions in https://github.com/nodejs/node/blob/master/BUILDING.md#speeding-up-frequent-rebuilds-when-developing to install and configure ccache. (I’m on a Mac, so I did brew install ccache). In particular, don’t skip the steps to export CC and export CXX.

  2. Run ./configure. I see this error:

    Node.js configure: Found Python 3.9.7...
    ERROR: Did not find a new enough assembler, install one or build with
           –openssl-no-asm.
           Please refer to BUILDING.md
    
  3. Run unset CC GCC. Then when I run ./configure the command completes successfully.

How often does it reproduce? Is there a required condition?

Every time.

Additional information

cc @nodejs/build-files

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions