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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153 | alan@wopr:~/porting/phablet$ make -j16
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20160317-UNOFFICIAL-bacon
TARGET_PRODUCT=cm_bacon
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-13-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_BUILD_TYPE=release
BUILD_ID=LMY48W
OUT_DIR=/home/alan/porting/phablet/out
============================================
build/core/base_rules.mk:550: warning: overriding recipe for target '/home/alan/porting/phablet/out/target/product/bacon/recovery/root/sbin/make_ext4fs'
bootable/recovery/Android.mk:188: warning: ignoring old recipe for target '/home/alan/porting/phablet/out/target/product/bacon/recovery/root/sbin/make_ext4fs'
build/core/Makefile:46: warning: overriding recipe for target '/home/alan/porting/phablet/out/target/product/bacon/system/etc/apns-conf.xml'
build/core/base_rules.mk:550: warning: ignoring old recipe for target '/home/alan/porting/phablet/out/target/product/bacon/system/etc/apns-conf.xml'
No private recovery resources for TARGET_DEVICE bacon
device/oneplus/bacon/mkbootimg.mk:21: warning: overriding recipe for target '/home/alan/porting/phablet/out/target/product/bacon/dt.img'
build/core/generate_extra_images.mk:112: warning: ignoring old recipe for target '/home/alan/porting/phablet/out/target/product/bacon/dt.img'
make -C kernel/oneplus/msm8974 O=/home/alan/porting/phablet/out/target/product/bacon/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/alan/porting/phablet/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_bacon_defconfig
make[1]: Entering directory '/home/alan/porting/phablet/kernel/oneplus/msm8974'
host C: acp <= build/tools/acp/acp.c
host C: adb <= system/core/adb/adb.c
host StaticLib: libhost_32 (/home/alan/porting/phablet/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
host C: adb <= system/core/adb/console.c
host C: adb <= system/core/adb/transport.c
host C: adb <= system/core/adb/transport_local.c
host C: adb <= system/core/adb/transport_usb.c
host C: adb <= system/core/adb/commandline.c
host C: adb <= system/core/adb/adb_client.c
host C: adb <= system/core/adb/adb_auth_host.c
host C: adb <= system/core/adb/sockets.c
host C: adb <= system/core/adb/services.c
host C: adb <= system/core/adb/file_sync_client.c
host C: adb <= system/core/adb/get_my_path_linux.c
host C: adb <= system/core/adb/usb_linux.c
host C: adb <= system/core/adb/fdevent.c
host StaticLib: libzipfile_32 (/home/alan/porting/phablet/out/host/linux-x86/obj32/STATIC_LIBRARIES/libzipfile_intermediates/libzipfile.a)
host StaticLib: libunz_32 (/home/alan/porting/phablet/out/host/linux-x86/obj32/STATIC_LIBRARIES/libunz_intermediates/libunz.a)
host StaticLib: libcrypto_static_32 (/home/alan/porting/phablet/out/host/linux-x86/obj32/STATIC_LIBRARIES/libcrypto_static_intermediates/libcrypto_static.a)
host C: libcutils_32 <= system/core/libcutils/atomic.c
host C: libcutils_32 <= system/core/libcutils/hashmap.c
host C: libcutils_32 <= system/core/libcutils/native_handle.c
host C: libcutils_32 <= system/core/libcutils/config_utils.c
host C: libcutils_32 <= system/core/libcutils/cpu_info.c
host C: libcutils_32 <= system/core/libcutils/load_file.c
host C: libcutils_32 <= system/core/libcutils/open_memstream.c
host C: libcutils_32 <= system/core/libcutils/strdup16to8.c
host C: libcutils_32 <= system/core/libcutils/strdup8to16.c
host C: libcutils_32 <= system/core/libcutils/record_stream.c
host C: libcutils_32 <= system/core/libcutils/process_name.c
host C: libcutils_32 <= system/core/libcutils/threads.c
host C: libcutils_32 <= system/core/libcutils/sched_policy.c
host C: libcutils_32 <= system/core/libcutils/str_parms.c
host C: libcutils_32 <= system/core/libcutils/iosched_policy.c
host C: libcutils_32 <= system/core/libcutils/fs.c
host C: libcutils_32 <= system/core/libcutils/multiuser.c
host C: libcutils_32 <= system/core/libcutils/socket_inaddr_any_server.c
host C: libcutils_32 <= system/core/libcutils/socket_local_client.c
host C: libcutils_32 <= system/core/libcutils/socket_local_server.c
host C: libcutils_32 <= system/core/libcutils/socket_loopback_client.c
host C: libcutils_32 <= system/core/libcutils/socket_loopback_server.c
host C: libcutils_32 <= system/core/libcutils/socket_network_client.c
host C: libcutils_32 <= system/core/libcutils/sockets.c
host C: libcutils_32 <= system/core/libcutils/ashmem-host.c
host C: libcutils_32 <= system/core/libcutils/dlmalloc_stubs.c
host C++: backtrace_test <= system/core/libbacktrace/backtrace_test.cpp
host C: backtrace_test <= system/core/libbacktrace/thread_utils.c
host C++: backtrace_test <= system/core/libbacktrace/GetPss.cpp
host C++: libbacktrace_32 <= system/core/libbacktrace/BacktraceImpl.cpp
host C++: libbacktrace_32 <= system/core/libbacktrace/BacktraceMap.cpp
host C++: libbacktrace_32 <= system/core/libbacktrace/BacktraceThread.cpp
host C++: libbacktrace_32 <= system/core/libbacktrace/UnwindCurrent.cpp
host C++: libbacktrace_32 <= system/core/libbacktrace/UnwindMap.cpp
host C++: libbacktrace_32 <= system/core/libbacktrace/UnwindPtrace.cpp
host C: libbacktrace_32 <= system/core/libbacktrace/thread_utils.c
host StaticLib: liblog_32 (/home/alan/porting/phablet/out/host/linux-x86/obj32/STATIC_LIBRARIES/liblog_intermediates/liblog.a)
host SharedLib: libunwind_32 (/home/alan/porting/phablet/out/host/linux-x86/obj32/lib/libunwind.so)
In file included from system/core/libbacktrace/BacktraceMap.cpp:21:0:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from system/core/include/backtrace/Backtrace.h:23:0,
from system/core/libbacktrace/UnwindPtrace.cpp:17:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
In file included from system/core/include/backtrace/Backtrace.h:23:0,
from system/core/libbacktrace/UnwindCurrent.cpp:20:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
compilation terminated.
In file included from system/core/include/backtrace/Backtrace.h:23:0,
from system/core/libbacktrace/backtrace_test.cpp:32:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
In file included from system/core/libbacktrace/BacktraceImpl.cpp:25:0:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
host C: libunwind-ptrace_32 <= external/libunwind/src/ptrace/_UPT_elf.c
host C: libunwind-ptrace_32 <= external/libunwind/src/ptrace/_UPT_accessors.c
host C: libunwind-ptrace_32 <= external/libunwind/src/ptrace/_UPT_access_fpreg.c
In file included from /usr/include/c++/5/deque:60:0,
from system/core/include/backtrace/BacktraceMap.h:32,
from system/core/libbacktrace/UnwindMap.cpp:22:
/usr/include/c++/5/bits/stl_algobase.h:59:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
build/core/binary.mk:619: recipe for target '/home/alan/porting/phablet/out/host/linux-x86/obj32/EXECUTABLES/backtrace_test_intermediates/backtrace_test.o' failed
make: *** [/home/alan/porting/phablet/out/host/linux-x86/obj32/EXECUTABLES/backtrace_test_intermediates/backtrace_test.o] Error 1
make: *** Waiting for unfinished jobs....
build/core/binary.mk:619: recipe for target '/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/BacktraceImpl.o' failed
make: *** [/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/BacktraceImpl.o] Error 1
build/core/binary.mk:619: recipe for target '/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/BacktraceMap.o' failed
make: *** [/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/BacktraceMap.o] Error 1
build/core/binary.mk:619: recipe for target '/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/UnwindCurrent.o' failed
make: *** [/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/UnwindCurrent.o] Error 1
build/core/binary.mk:619: recipe for target '/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/UnwindMap.o' failed
make: *** [/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/UnwindMap.o] Error 1
build/core/binary.mk:619: recipe for target '/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/UnwindPtrace.o' failed
make: *** [/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/UnwindPtrace.o] Error 1
In file included from system/core/include/backtrace/Backtrace.h:23:0,
from system/core/libbacktrace/BacktraceImpl.h:20,
from system/core/libbacktrace/BacktraceThread.h:27,
from system/core/libbacktrace/BacktraceThread.cpp:33:
/usr/include/c++/5/string:38:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
build/core/binary.mk:619: recipe for target '/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/BacktraceThread.o' failed
make: *** [/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libbacktrace_intermediates/BacktraceThread.o] Error 1
/home/alan/porting/phablet/out/host/linux-x86/obj32/SHARED_LIBRARIES/libunwind_intermediates/src/x86/Gos-linux.o: In function `_Ux86_local_resume':
/home/alan/porting/phablet/external/libunwind/src/x86/Gos-linux.c:301: warning: sigreturn is not implemented and will always fail
GEN /home/alan/porting/phablet/out/target/product/bacon/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/alan/porting/phablet/kernel/oneplus/msm8974'
#### make failed to build some targets (11 seconds) ####
alan@wopr:~/porting/phablet$
|