[Android-tools-devel] Bug#976891: Bug#976891: fastboot exits with "fake placeholder until fastboot builds" message
Hans-Christoph Steiner
hans at eds.org
Wed Dec 30 23:42:56 GMT 2020
Roger Shimizu:
> On Wed, Dec 30, 2020 at 3:46 AM Hans-Christoph Steiner <hans at eds.org> wrote:
>>
>> Ok, I fixed the dependency issue, now it gets reliably to the point rosh
>> gets to:
>
> Thanks for fixing the build dependency issue!
> I fixed a few other issues (operator script & mterp generation, etc),
> and pushed to rosh/refine branch.
>
> Current build breaking point is the same as previous one.
> I tried to use different c++ library, such as libstdc++-8-dev, and
> clang-9, but seems no help.
I have android-platform-art building as a stage1 now, so I'm working
again on android-platform-system-core. I haven't found where these
symbols are supposed to come from:
clang++ fastboot/bootimg_utils.cpp fastboot/fastboot.cpp
fastboot/fastboot_driver.cpp fastboot/fs.cpp fastboot/main.cpp
fastboot/socket.cpp fastboot/tcp.cpp fastboot/udp.cpp
fastboot/usb_linux.cpp fastboot/util.cpp fs_mgr/liblp/builder.cpp
fs_mgr/liblp/images.cpp fs_mgr/liblp/partition_opener.cpp
fs_mgr/liblp/reader.cpp fs_mgr/liblp/utility.cpp fs_mgr/liblp/writer.cpp
-o fastboot/fastboot -g -O2
-fdebug-prefix-map=/build/android-platform-system-core-10.0.0+r36=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-std=gnu++2a -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG
-UDEBUG -I/usr/include/android -DPLATFORM_TOOLS_VERSION='"28.0.2"'
-Iinclude -Imkbootimg/include/bootimg -Iadb -Ibase/include
-Idemangle/include -Idiagnose_usb/include -Ifs_mgr/include
-Ifs_mgr/include_fstab -Ifs_mgr/liblp/include -I/usr/include/android
-I/usr/include/android/f2fs_utils -I/usr/include/android/openssl
-Ilibsparse/include -Ilibziparchive/include -Wl,-z,relro -Wl,-z,now
-fPIC -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -Wl,-rpath-link=. -L.
-lziparchive -lsparse -lbase -lcutils -ladb -lutils -lssl -lcrypto
-L/usr/lib/x86_64-linux-gnu/android -lart -l7z -lunwind
/usr/bin/ld: /tmp/utility-794e29.o: in function
`android::fs_mgr::GetDescriptorSize(int, unsigned long*)':
./fs_mgr/liblp/utility.cpp:49: undefined reference to
`get_block_device_size'
/usr/bin/ld: ./libbacktrace.so.0: undefined reference to `typeinfo for
art_api::dex::DexFile'
Check my forks for the most current commits:
https://salsa.debian.org/eighthave/android-platform-art
https://salsa.debian.org/eighthave/android-platform-system-core
.hc
More information about the Android-tools-devel
mailing list