Skip to content

[BUG] Bionic - undefined reference to 'operator new(unsigned int)' #1130

@hypothermic

Description

@hypothermic

Description

Compiler gives the following error when building:

/usr/local/google/buildbot/src/android/ndk-release-r20/bionic/libc/bionic/locale.cpp:155: error: undefined reference to 'operator new(unsigned int)'

Project "app/src/cpp" folder: https://github.com/hypothermic/bionic-bug-repro
Using cmake version 3.10.2

Environment Details

  • NDK Version: 20.0.5594570
  • Build system: CMake
  • Host OS: Ubuntu 18.04 with kernel 4.15
  • ABI: arm64-v8a
  • NDK API level: 21
  • Device API level: 29

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions