| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
- buildconfigfield
- arm-linux-androideabi
- Compose
- Kotlin
- Java
- NDK
- EditText
- mac
- retrofit
- 3rd part
- xcframework
- BindingAdapter
- Android
- Framework
- boot
- ndkVersion
- VM arguments
- defaultconfig
- DispatchQueue
- Registering an InstanceCreator with Gson for this type may fix this problem
- data binding
- Jetpack
- IOS
- 3rd framework
- Eclipse
- gradle
- Swift
- AOS
- Chat GPT
- Andorid
- Today
- Total
grape
[NDK] "stack_chk_fail_local" old project build setting - ld: error: undefined hidden symbol: __stack_chk_fail_local 본문
[NDK] "stack_chk_fail_local" old project build setting - ld: error: undefined hidden symbol: __stack_chk_fail_local
grapelab 2023. 10. 6. 13:54예전 NDK project를 update하기 위해 오랜만에 Gradle을 했더니
오류부터 나를 맞이 하였다.
ld: error: undefined hidden symbol: __stack_chk_fail_local
Find Google - stack_chk_fail_local
여러가지 이야기가 있지만 대략 GCC 관련 설정 이야기들이다
add -fno-stack-protector
libc/arch-x86/bionic/__stack_chk_fail_local.h - platform/bionic - Git at Google
* Copyright (C) 2012 The Android Open Source Project * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * * Redistributions of source code must retain the above copyrigh
android.googlesource.com
먼가 블랙홀로 빠지는거 같다
Android Stuido가 update되면 기본 NDK 설정이 변경되는 듯 하다.
https://developer.android.com/studio/projects/install-ndk
NDK 및 CMake 설치 및 구성 | Android 개발자 | Android Developers
NDK 및 CMake 설치 및 구성 앱의 네이티브 코드를 컴파일하고 디버그하려면 다음 구성요소가 필요합니다. Android 네이티브 개발 키트(NDK): Android에서 C 및 C++ 코드를 사용할 수 있도록 해주는 도구 모
developer.android.com
https://developer.android.com/studio/releases/gradle-plugin
Android Gradle 플러그인 출시 노트 | Android 개발자 | Android Developers
Android 스튜디오 빌드 시스템은 Gradle을 기반으로 하며 Android Gradle 플러그인에는 Android 앱을 빌드하는 데 사용하는 몇 가지 추가 기능이 있습니다.
developer.android.com



Studio
Arctic Fox + gradle-5.4.1 = ?
NDK 버전을 안정적인 버전으로 고정해 보자
Gradle - ADD ndkVersion "21.4.7075529"
https://developer.android.com/studio/projects/install-ndk
NDK 및 CMake 설치 및 구성 | Android 개발자 | Android Developers
NDK 및 CMake 설치 및 구성 앱의 네이티브 코드를 컴파일하고 디버그하려면 다음 구성요소가 필요합니다. Android 네이티브 개발 키트(NDK): Android에서 C 및 C++ 코드를 사용할 수 있도록 해주는 도구 모
developer.android.com
Solve
최근 NDK에 변경점에 영향을 받는 부분들이 생기고 있는 듯 하다.
'dev > aos' 카테고리의 다른 글
| [policy] 오디오 입력 공유 (from. android 10) (0) | 2023.10.07 |
|---|---|
| [Util]Logfilter (0) | 2023.10.07 |
| [NDK] r23 LTS 이후 r24 notice (0) | 2023.10.07 |
| [3rd-part AAR] "arm-linux-androideabi" build setting - No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi (0) | 2023.10.06 |
| [android]adb 환경 변수 등록(windows10) (0) | 2023.10.03 |