Closed fathonix closed 12 months ago
Thanks for your time and work.
From what I've read, c++17 renders this type of gpsim exception statement as an error. Using c++14 it is just a warning. I believe that adding the -std=c++14
option to clang++ the code should compile.
Using g++ should compile just fine, try removing the -flto
option from makefiles, it's usually not very compatible.
Thanks for your feedback.
I've tried adding -std=c++14
and the GPSim errors are finally gone. But I ran into errors like this:
error: value of type '__bind<int &, sockaddr *, unsigned long>' is not contextually convertible to 'bool'
But quick search gave me the clue and I fixed it by replacing bind()
with ::bind()
in devices/mplabxd.cc and devices/rcontrol.cc. Finally, PICSimLab was built successfully. (woohoo!)
I tried to flash some example programs to Uno simulator through pts-mode tty0tty and it worked like a charm. But once I switched to ESP32, I noticed that it had some issues connecting to the TTY. After confirming my configurations, PICSimLab hanged.
With arguments printed in the logs, I tried running:
./qemu-system-xtensa -M esp32-picsimlab -L /opt/lib/picsimlab/qemu/fw/ -drive file=/Users/aldo/Library/Application\ Support/picsimlab/mdump_ESP32_DevKitC_ESP32.bin,if=mtd,format=raw -icount shift=5,align=off,sleep=on -nic user,model=esp32_wifi,net=192.168.4.0/24,hostfwd=tcp::16555-192.168.4.15:80 -global driver=timer.esp32.timg,property=wdt_disable,value=true
Aaaand I got SEGV, here's the logs from macOS:
Process: qemu-system-xtensa [49704]
Path: /Users/USER/*/qemu-system-xtensa
Identifier: qemu-system-xtensa
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [39492]
Responsible: iTerm2 [1389]
User ID: 501
Date/Time: 2023-02-09 21:38:36.8176 +0300
OS Version: macOS 12.4 (21F79)
Report Version: 12
Anonymous UUID: 34581243-0F39-C375-0911-465CC4B97213
Sleep/Wake UUID: A932D94F-0F3A-4720-A775-8B12DF635409
Time Awake Since Boot: 36000 seconds
Time Since Wake: 8659 seconds
System Integrity Protection: enabled
Crashed Thread: 3
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [49704]
VM Region Info: 0 is not in any region. Bytes before following region: 4371185664
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1048b0000-1050f4000 [ 8464K] r-x/r-x SM=COW ...system-xtensa
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1a92d5598 __select + 8
1 libglib-2.0.0.dylib 0x106153090 g_poll + 424
2 qemu-system-xtensa 0x104f5eac4 qemu_poll_ns + 64 (qemu-timer.c:351)
3 qemu-system-xtensa 0x104f59e0c os_host_main_loop_wait + 88 (main-loop.c:257)
4 qemu-system-xtensa 0x104f59d1c main_loop_wait + 188 (main-loop.c:538)
5 qemu-system-xtensa 0x104ca2c30 qemu_main_loop + 32 (runstate.c:726)
6 qemu-system-xtensa 0x104d9e338 main + 56 (main.c:50)
7 dyld 0x10606108c start + 520
Thread 1:
0 libsystem_kernel.dylib 0x1a92ce06c __semwait_signal + 8
1 libsystem_c.dylib 0x1a91d6fc8 nanosleep + 220
2 libglib-2.0.0.dylib 0x10616bef0 g_usleep + 72
3 qemu-system-xtensa 0x104f3e554 call_rcu_thread + 164 (rcu.c:253)
4 qemu-system-xtensa 0x104f31f60 qemu_thread_start + 176 (qemu-thread-posix.c:556)
5 libsystem_pthread.dylib 0x1a930826c _pthread_start + 148
6 libsystem_pthread.dylib 0x1a930308c thread_start + 8
Thread 2:
0 libsystem_kernel.dylib 0x1a92d5f10 __sigwait + 8
1 libsystem_pthread.dylib 0x1a9308a48 sigwait + 40
2 qemu-system-xtensa 0x104f2dd4c sigwait_compat + 56 (compatfd.c:36)
3 qemu-system-xtensa 0x104f31f60 qemu_thread_start + 176 (qemu-thread-posix.c:556)
4 libsystem_pthread.dylib 0x1a930826c _pthread_start + 148
5 libsystem_pthread.dylib 0x1a930308c thread_start + 8
Thread 3 Crashed:
0 ??? 0x0 ???
1 qemu-system-xtensa 0x104da690c qemu_set_irq + 68
2 qemu-system-xtensa 0x104a03c64 esp32_iomux_write + 176 (esp32_iomux.c:169)
3 qemu-system-xtensa 0x104ca52b4 memory_region_write_accessor + 296 (memory.c:492)
4 qemu-system-xtensa 0x104ca5154 access_with_adjusted_size + 516 (memory.c:554)
5 qemu-system-xtensa 0x104ca4d98 memory_region_dispatch_write + 276 (memory.c:1504)
6 qemu-system-xtensa 0x104d99c7c io_writex + 276 (cputlb.c:1420)
7 qemu-system-xtensa 0x104d8b7f4 store_helper + 656 (cputlb.c:2355)
8 qemu-system-xtensa 0x104d8b460 full_le_stl_mmu + 76 (cputlb.c:2443)
9 qemu-system-xtensa 0x104d8b408 helper_le_stl_mmu + 60 (cputlb.c:2449)
10 ??? 0x2c0025ca0 ???
11 qemu-system-xtensa 0x104d77fb4 cpu_tb_exec + 96 (cpu-exec.c:357)
12 qemu-system-xtensa 0x104d791bc cpu_loop_exec_tb + 64 (cpu-exec.c:842)
13 qemu-system-xtensa 0x104d78770 cpu_exec + 564 (cpu-exec.c:1001)
14 qemu-system-xtensa 0x104d9acf0 tcg_cpus_exec + 88 (tcg-accel-ops.c:67)
15 qemu-system-xtensa 0x104d9bd7c rr_cpu_thread_fn + 876 (tcg-accel-ops-rr.c:223)
16 qemu-system-xtensa 0x104f31f60 qemu_thread_start + 176 (qemu-thread-posix.c:556)
17 libsystem_pthread.dylib 0x1a930826c _pthread_start + 148
18 libsystem_pthread.dylib 0x1a930308c thread_start + 8
Thread 4:
0 libsystem_kernel.dylib 0x1a92ce270 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1a930883c _pthread_cond_wait + 1236
2 qemu-system-xtensa 0x104f31674 qemu_sem_timedwait + 136 (qemu-thread-posix.c:303)
3 qemu-system-xtensa 0x104f5dc00 worker_thread + 196 (thread-pool.c:91)
4 qemu-system-xtensa 0x104f31f60 qemu_thread_start + 176 (qemu-thread-posix.c:556)
5 libsystem_pthread.dylib 0x1a930826c _pthread_start + 148
6 libsystem_pthread.dylib 0x1a930308c thread_start + 8
Thread 3 crashed with ARM Thread State (64-bit):
x0: 0x00000000ffffffff x1: 0x00000000ffffbfff x2: 0x00000000ffffbfff x3: 0x00000000000000a1
x4: 0x0000000104f9257f x5: 0x00000000ffffffff x6: 0x000000006b000001 x7: 0x000000016b000001
x8: 0x0000000000000000 x9: 0x0000600003540e00 x10: 0x0000000104a040b4 x11: 0x0000000000000084
x12: 0x00007a0000007a02 x13: 0x00007a0000007a00 x14: 0x00000000a6e05000 x15: 0x000000000000000a
x16: 0x00000001a93027c0 x17: 0x00006000015940c0 x18: 0x0000000000000000 x19: 0x0000000140020be0
x20: 0x0000000000000800 x21: 0x000000003ff49088 x22: 0x0000000000000000 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016b6ee400 lr: 0x0000000104b360ac
sp: 0x000000016b6ee3f0 pc: 0x0000000000000000 cpsr: 0x80001000
far: 0x0000000000000000 esr: 0x82000006 (Instruction Abort) Translation fault
Binary Images:
0x1a92c9000 - 0x1a9300fff libsystem_kernel.dylib (*) <03f48dc5-caa7-3678-af61-1a3c7fa8b06e> /usr/lib/system/libsystem_kernel.dylib
0x106110000 - 0x1061f7fff libglib-2.0.0.dylib (*) <17a0a189-d923-3df6-a590-48c7619731f5> /opt/homebrew/*/libglib-2.0.0.dylib
0x1048b0000 - 0x1050f3fff qemu-system-xtensa (*) <46d089ca-e439-314c-abfd-b6307b76f618> /Users/USER/*/qemu-system-xtensa
0x10605c000 - 0x1060bbfff dyld (*) <d9c2a46e-8dc4-3950-9d6a-f799e8ccb683> /usr/lib/dyld
0x1a91c8000 - 0x1a9249fff libsystem_c.dylib (*) <86746b94-88e3-342d-b2b2-54303404e492> /usr/lib/system/libsystem_c.dylib
0x1a9301000 - 0x1a930dfff libsystem_pthread.dylib (*) <42166a2c-89a9-3c38-a215-f028544cea23> /usr/lib/system/libsystem_pthread.dylib
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=677.4M resident=0K(0%) swapped_out_or_unallocated=677.4M(100%)
Writable regions: Total=2.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.1G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 32K 1
MALLOC 268.2M 30
MALLOC guard page 96K 5
MALLOC_MEDIUM (reserved) 440.0M 4 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.1M 5
Stack 10.1M 5
VM_ALLOCATE 130.5M 22
VM_ALLOCATE (reserved) 24.3M 11 reserved VM address space (unallocated)
__AUTH 220K 44
__AUTH_CONST 2892K 123
__DATA 4308K 126
__DATA_CONST 5778K 133
__DATA_DIRTY 233K 50
__LINKEDIT 586.6M 11
__OBJC_CONST 260K 29
__OBJC_RO 83.0M 1
__OBJC_RW 3152K 1
__TEXT 90.7M 139
__UNICODE 592K 1
dyld private memory 1024K 1
shared memory 1.9G 18
=========== ======= =======
TOTAL 3.9G 762
TOTAL, minus reserved VM space 3.1G 762
I guess this is the one that caused the hang but I don't really understand what was going on.
Hi @fathonix ,
qemu-system-xtensa -M esp32-picsimlab
needs some initialization to work done by PICSimLab. I tweaked the code to work stand alone with this commit https://github.com/lcgamboa/qemu_stm32/commit/08ac82cc995683480333a9a73f66141e0826b4ca.
The problem of getting hang is because PICSimLab reads the status of the DTR/RTS pins of the serial port to reset the simulated boards for flashing the programs by avrdude and esptool.py. As you are using a pts without signals from these pins, the simulator enters a continuous reset state. To work with pts I can add an option to disable the DTR/RTS check, but for avrdude and esptoo.py to work it would be necessary to reset the boards manually and at the exact moment (I'm not sure if that would work). For you to be able to do your tests just choose a real or invalid serial port for the simulator to run.
Thank you for your time and collaboration.
Thank you very much for your time and help.
I can confirm that qemu-system-xtensa -M esp32-picsimlab
doesn't crash anymore (thanks!). I can also confirm that everytime I had flashed to Uno once, I had to reset the board either by selecting Arduino Bootloader or restarting the app sometimes, which I think it's because the IDE uses avrdude internally.
Regarding the serial, I'm still trying to find a virtual serial driver for macOS. Many people suggested MacOSXVirtualSerialPort, which is very outdated and doesn't work on modern macOS. But I found another driver and this one runs on newer macOS but still in early stage. The problem is that this driver isn't signed so it needs System Integrity Protection disabled, and I don't think that's the best idea. But signing requires Apple Developer membership and it costs $99 annually.
After fiddling around with Xcode build settings and macOS security stuff, apparently the driver is broken. I got it to run, I could connect on one side but the other side just threw "Resource busy." I don't put much hope on it either, since the dev kind of already abandoned it (the last commit is from 2018).
I'm going to put an option to be able to disable the use of DTR/DSR to work with the pts without getting hang. Another solution can be to use PICSimLab's TCP/IP rcontrol interface to load the programs. Here is a small program that loads a .hex into an open instance of PICSimLab .
I have implemented the option to disable DTR/RTS signals use in commits https://github.com/lcgamboa/picsimlab/commit/573dc9cf4bcd642d468cc045ba0ffe0ec3f612cd and https://github.com/lcgamboa/picsimlab/commit/96f0a0965f8ded93d2b8bc9fb016e086c380219d. Use the menu File->configure
With the option disabled, the reset must be done manually to flash the board. To use with avrdude just reset at the beginning of the flashing attempt. To use with esptool.py, click on the BOOT button and drag the pointer out of the button leaving it pressed, click on the EN button and click on the BOOT button again, with that the ESP32 will be in boot mode.
Dear @fathonix,
I upgraded the macOS to Sonoma 14.0 and plan to build for native macOS binaries. Could you share your Ventura build script and I can try to build to test?
Thanks, Laris
Hi @laris ,
there are some scripts in this pull request. I don´t know if it is the same used by @fathonix .
Thanks @lcgamboa, I struggle for that two scripts but still failed to compile full code. I will try in next some days and recollect what failed and what needs to change.
@lcgamboa I'm trying to build dependence pkg one by one follow build_all_static.sh
, when I try to build picsimlab-stm32
, but the build_libqemu-stm32.sh
will not generate qemu-system-arm.rsp
file and also failed for below sed
and c++ -m64 -mcx16 -ggdb @qemu-system-arm.rsp
, is any missing steps?
flags="$(./configure --help | perl -ne 'print if s/^ ([a-z][\w-]*) .*/\1/' | tail -n +2 | awk '{print "--disable-"$1}' ORS=' ')"
${2:-.}/configure --target-list=$target --extra-cflags=-fPIC --disable-slirp $flags --enable-tcg \
--enable-system --disable-werror --disable-alsa \
--enable-debug --enable-debug-info
make clean >/dev/null
# Build everything as usual
make "-j$ncpu"
# Build a shared library, without softmmu/main.o and otherwise *exactly* the same
# flags.
cd build
rm -f qemu-system-arm
ninja -d keeprsp
#dynamic
sed -i 's/qemu-system-arm.p\/softmmu_main.c.o//g' qemu-system-arm.rsp
sed -i 's/-o\ qemu-system-arm/-shared\ -o\ libqemu-stm32.so/g' qemu-system-arm.rsp
c++ -m64 -mcx16 -ggdb @qemu-system-arm.rsp
Hi @laris ,
this script is a hack to generate a library instead of an executable.
First check if the build/qemu-system-arm
file is being generated with the make command.
Enter in build
dir, remove the executable qemu-system-arm
, and build with ninja with option-d keeprsp
and the. rsp file (and the executable again) must be generated.
cd build
rm -f qemu-system-arm
ninja -d keeprsp
The sed part separates only the last line of the .rsp file, removes the softmmu_main.c.o object, and adds the options to compile as a library. The last call compiles the program as a library with the options passed in the edited .rsp file.
Yes, I understand the procedures (rm -f qemu-system-arm then ninja -d keeprsp) but it looks like the ninja command will don't generate the *.rsp file.
This is the configure parts (only run before make), could you help to double check if any package missing?
ninja -vvv -d keeprsp
[1/6] /usr/local/bin/meson --internal exe --capture qemu-version.h -- /Users/laris/coding/picsimlab/build_all/qemu/scripts/qemu-version.sh /Users/laris/coding/picsimlab/build_all/qemu '' 6.2.50
Apparently there is no missing package/modules.
Running ninja after remove qemu-system-arm inside build dir (in linux):
ninja -vvv -d keeprsp
[1/5] /usr/bin/meson --internal exe --capture qemu-version.h -- /tmp/qemu/scripts/qemu-version.sh /tmp/qemu '' 6.2.50
[2/2] c++ -m64 -mcx16 @qemu-system-arm.rsp
The qemu-system-arm.rsp are generated.
Running without remove qemu-system-arm:
[1/5] /usr/bin/meson --internal exe --capture qemu-version.h -- /tmp/qemu/scripts/qemu-version.sh /tmp/qemu '' 6.2.50
The qemu-system-arm.rsp aren't generated.
The .rsp file generate in Linux (for use with gcc), maybe it work with clang. qemu-system-arm.rsp.zip
I got one step forward:), need remove qemu-system-arm qemu-system-arm-unsigned *unsigned
binary both, and ninja generate more codes but still don't generate *.rsp file.
mbp ~/c/p/b/q/build (picsimlab-stm32)> rm -rf qemu-system-arm qemu-system-arm-unsigned
mbp ~/c/p/b/q/build (picsimlab-stm32)> ninja -vvv -d keeprsp
[1/6] /usr/local/bin/meson --internal exe --capture qemu-version.h -- /Users/laris/coding/picsimlab/build_all/qemu/scripts/qemu-version.sh /Users/laris/coding/picsimlab/build_all/qemu '' 6.2.50
[2/3] c++ -m64 -mcx16 -o qemu-system-arm-unsigned libcommon.fa.p/cpus-common.c.o libcommon.fa.p/page-vary-common.c.o libcommon.fa.p/disas_arm-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_a64_decoder-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_a64_disasm-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_a64_instructions-a64.cc.o libcommon.fa.p/disas_libvixl_vixl_compiler-intrinsics.cc.o libcommon.fa.p/disas_libvixl_vixl_utils.cc.o libcommon.fa.p/disas_arm.c.o libcommon.fa.p/disas_i386.c.o libcommon.fa.p/disas_capstone.c.o libcommon.fa.p/hw_core_cpu-common.c.o libcommon.fa.p/hw_core_machine-smp.c.o libcommon.fa.p/qom_qom-hmp-cmds.c.o libcommon.fa.p/ui_clipboard.c.o libcommon.fa.p/ui_console.c.o libcommon.fa.p/ui_cursor.c.o libcommon.fa.p/ui_input-keymap.c.o libcommon.fa.p/ui_input-legacy.c.o libcommon.fa.p/ui_input-barrier.c.o libcommon.fa.p/ui_input.c.o libcommon.fa.p/ui_kbd-state.c.o libcommon.fa.p/ui_keymaps.c.o libcommon.fa.p/ui_qemu-pixman.c.o libcommon.fa.p/ui_util.c.o libcommon.fa.p/ui_spice-module.c.o libcommon.fa.p/ui_vnc-stubs.c.o libcommon.fa.p/audio_audio.c.o libcommon.fa.p/audio_audio_legacy.c.o libcommon.fa.p/audio_mixeng.c.o libcommon.fa.p/audio_noaudio.c.o libcommon.fa.p/audio_wavaudio.c.o libcommon.fa.p/audio_wavcapture.c.o libcommon.fa.p/chardev_msmouse.c.o libcommon.fa.p/chardev_wctablet.c.o libcommon.fa.p/chardev_testdev.c.o libcommon.fa.p/dump_dump-hmp-cmds.c.o libcommon.fa.p/block_blkreplay.c.o libcommon.fa.p/block_qapi-sysemu.c.o libcommon.fa.p/block_monitor_block-hmp-cmds.c.o libcommon.fa.p/softmmu_bootdevice.c.o libcommon.fa.p/softmmu_dma-helpers.c.o libcommon.fa.p/softmmu_qdev-monitor.c.o libcommon.fa.p/softmmu_device_tree.c.o libcommon.fa.p/backends_cryptodev-builtin.c.o libcommon.fa.p/backends_cryptodev.c.o libcommon.fa.p/backends_hostmem-ram.c.o libcommon.fa.p/backends_hostmem.c.o libcommon.fa.p/backends_rng-builtin.c.o libcommon.fa.p/backends_rng-egd.c.o libcommon.fa.p/backends_rng.c.o libcommon.fa.p/backends_confidential-guest-support.c.o libcommon.fa.p/backends_rng-random.c.o libcommon.fa.p/backends_hostmem-file.c.o libcommon.fa.p/backends_cryptodev-vhost.c.o libcommon.fa.p/migration_page_cache.c.o libcommon.fa.p/migration_xbzrle.c.o libcommon.fa.p/migration_vmstate-types.c.o libcommon.fa.p/migration_vmstate.c.o libcommon.fa.p/migration_qemu-file-channel.c.o libcommon.fa.p/migration_qemu-file.c.o libcommon.fa.p/migration_yank_functions.c.o libcommon.fa.p/migration_block-dirty-bitmap.c.o libcommon.fa.p/migration_channel.c.o libcommon.fa.p/migration_colo-failover.c.o libcommon.fa.p/migration_colo.c.o libcommon.fa.p/migration_exec.c.o libcommon.fa.p/migration_fd.c.o libcommon.fa.p/migration_global_state.c.o libcommon.fa.p/migration_migration.c.o libcommon.fa.p/migration_multifd.c.o libcommon.fa.p/migration_multifd-zlib.c.o libcommon.fa.p/migration_postcopy-ram.c.o libcommon.fa.p/migration_savevm.c.o libcommon.fa.p/migration_socket.c.o libcommon.fa.p/migration_tls.c.o libcommon.fa.p/migration_block.c.o libcommon.fa.p/monitor_hmp-cmds.c.o libcommon.fa.p/monitor_hmp.c.o libcommon.fa.p/monitor_qmp-cmds.c.o libcommon.fa.p/net_announce.c.o libcommon.fa.p/net_checksum.c.o libcommon.fa.p/net_colo-compare.c.o libcommon.fa.p/net_colo.c.o libcommon.fa.p/net_dump.c.o libcommon.fa.p/net_eth.c.o libcommon.fa.p/net_filter-buffer.c.o libcommon.fa.p/net_filter-mirror.c.o libcommon.fa.p/net_filter-rewriter.c.o libcommon.fa.p/net_filter.c.o libcommon.fa.p/net_hub.c.o libcommon.fa.p/net_net.c.o libcommon.fa.p/net_queue.c.o libcommon.fa.p/net_socket.c.o libcommon.fa.p/net_util.c.o libcommon.fa.p/net_filter-replay.c.o libcommon.fa.p/net_tap-bsd.c.o libcommon.fa.p/net_tap.c.o libcommon.fa.p/net_can_can_core.c.o libcommon.fa.p/net_can_can_host.c.o libcommon.fa.p/replay_replay.c.o libcommon.fa.p/replay_replay-internal.c.o libcommon.fa.p/replay_replay-events.c.o libcommon.fa.p/replay_replay-time.c.o libcommon.fa.p/replay_replay-input.c.o libcommon.fa.p/replay_replay-char.c.o libcommon.fa.p/replay_replay-snapshot.c.o libcommon.fa.p/replay_replay-net.c.o libcommon.fa.p/replay_replay-audio.c.o libcommon.fa.p/replay_replay-random.c.o libcommon.fa.p/replay_replay-debugging.c.o libcommon.fa.p/hw_acpi_acpi_interface.c.o libcommon.fa.p/hw_acpi_aml-build.c.o libcommon.fa.p/hw_acpi_bios-linker-loader.c.o libcommon.fa.p/hw_acpi_core.c.o libcommon.fa.p/hw_acpi_utils.c.o libcommon.fa.p/hw_acpi_acpi-cpu-hotplug-stub.c.o libcommon.fa.p/hw_acpi_memory_hotplug.c.o libcommon.fa.p/hw_acpi_nvdimm.c.o libcommon.fa.p/hw_acpi_pci.c.o libcommon.fa.p/hw_acpi_generic_event_device.c.o libcommon.fa.p/hw_acpi_ghes.c.o libcommon.fa.p/hw_acpi_acpi-pci-hotplug-stub.c.o libcommon.fa.p/hw_acpi_viot.c.o libcommon.fa.p/hw_acpi_erst.c.o libcommon.fa.p/hw_acpi_ipmi-stub.c.o libcommon.fa.p/hw_acpi_acpi-x86-stub.c.o libcommon.fa.p/hw_adc_stm32f2xx_adc.c.o libcommon.fa.p/hw_adc_aspeed_adc.c.o libcommon.fa.p/hw_adc_npcm7xx_adc.c.o libcommon.fa.p/hw_adc_zynq-xadc.c.o libcommon.fa.p/hw_adc_max111x.c.o libcommon.fa.p/hw_audio_soundhw.c.o libcommon.fa.p/hw_audio_ac97.c.o libcommon.fa.p/hw_audio_es1370.c.o libcommon.fa.p/hw_audio_intel-hda.c.o libcommon.fa.p/hw_audio_hda-codec.c.o libcommon.fa.p/hw_audio_marvell_88w8618.c.o libcommon.fa.p/hw_audio_pl041.c.o libcommon.fa.p/hw_audio_lm4549.c.o libcommon.fa.p/hw_audio_wm8750.c.o libcommon.fa.p/hw_block_block.c.o libcommon.fa.p/hw_block_cdrom.c.o libcommon.fa.p/hw_block_hd-geometry.c.o libcommon.fa.p/hw_block_ecc.c.o libcommon.fa.p/hw_block_nand.c.o libcommon.fa.p/hw_block_onenand.c.o libcommon.fa.p/hw_block_pflash_cfi01.c.o libcommon.fa.p/hw_block_pflash_cfi02.c.o libcommon.fa.p/hw_block_m25p80.c.o libcommon.fa.p/hw_char_cadence_uart.c.o libcommon.fa.p/hw_char_cmsdk-apb-uart.c.o libcommon.fa.p/hw_char_imx_serial.c.o libcommon.fa.p/hw_char_ipoctal232.c.o libcommon.fa.p/hw_char_nrf51_uart.c.o libcommon.fa.p/hw_char_pl011.c.o libcommon.fa.p/hw_char_serial.c.o libcommon.fa.p/hw_char_serial-pci.c.o libcommon.fa.p/hw_char_serial-pci-multi.c.o libcommon.fa.p/hw_char_virtio-console.c.o libcommon.fa.p/hw_char_xilinx_uartlite.c.o libcommon.fa.p/hw_char_digic-uart.c.o libcommon.fa.p/hw_char_exynos4210_uart.c.o libcommon.fa.p/hw_char_omap_uart.c.o libcommon.fa.p/hw_char_bcm2835_aux.c.o libcommon.fa.p/hw_char_stm32f2xx_usart.c.o libcommon.fa.p/hw_char_stm32_uart.c.o libcommon.fa.p/hw_core_generic-loader.c.o libcommon.fa.p/hw_core_guest-loader.c.o libcommon.fa.p/hw_core_or-irq.c.o libcommon.fa.p/hw_core_platform-bus.c.o libcommon.fa.p/hw_core_ptimer.c.o libcommon.fa.p/hw_core_register.c.o libcommon.fa.p/hw_core_split-irq.c.o libcommon.fa.p/hw_core_stream.c.o libcommon.fa.p/hw_core_cpu-sysemu.c.o libcommon.fa.p/hw_core_fw-path-provider.c.o libcommon.fa.p/hw_core_gpio.c.o libcommon.fa.p/hw_core_loader.c.o libcommon.fa.p/hw_core_machine-hmp-cmds.c.o libcommon.fa.p/hw_core_machine.c.o libcommon.fa.p/hw_core_nmi.c.o libcommon.fa.p/hw_core_null-machine.c.o libcommon.fa.p/hw_core_qdev-fw.c.o libcommon.fa.p/hw_core_qdev-properties-system.c.o libcommon.fa.p/hw_core_sysbus.c.o libcommon.fa.p/hw_core_vm-change-state-handler.c.o libcommon.fa.p/hw_core_clock-vmstate.c.o libcommon.fa.p/hw_cpu_core.c.o libcommon.fa.p/hw_cpu_cluster.c.o libcommon.fa.p/hw_display_i2c-ddc.c.o libcommon.fa.p/hw_display_edid-generate.c.o libcommon.fa.p/hw_display_edid-region.c.o libcommon.fa.p/hw_display_ramfb.c.o libcommon.fa.p/hw_display_ramfb-standalone.c.o libcommon.fa.p/hw_display_cirrus_vga.c.o libcommon.fa.p/hw_display_pl110.c.o libcommon.fa.p/hw_display_sii9022.c.o libcommon.fa.p/hw_display_ssd0303.c.o libcommon.fa.p/hw_display_ssd0323.c.o libcommon.fa.p/hw_display_vga-pci.c.o libcommon.fa.p/hw_display_vmware_vga.c.o libcommon.fa.p/hw_display_bochs-display.c.o libcommon.fa.p/hw_display_blizzard.c.o libcommon.fa.p/hw_display_exynos4210_fimd.c.o libcommon.fa.p/hw_display_framebuffer.c.o libcommon.fa.p/hw_display_tc6393xb.c.o libcommon.fa.p/hw_display_omap_dss.c.o libcommon.fa.p/hw_display_pxa2xx_lcd.c.o libcommon.fa.p/hw_display_bcm2835_fb.c.o libcommon.fa.p/hw_display_ati.c.o libcommon.fa.p/hw_display_ati_2d.c.o libcommon.fa.p/hw_display_ati_dbg.c.o libcommon.fa.p/hw_dma_pl080.c.o libcommon.fa.p/hw_dma_pl330.c.o libcommon.fa.p/hw_dma_xilinx_axidma.c.o libcommon.fa.p/hw_dma_xlnx-zynq-devcfg.c.o libcommon.fa.p/hw_dma_omap_dma.c.o libcommon.fa.p/hw_dma_soc_dma.c.o libcommon.fa.p/hw_dma_pxa2xx_dma.c.o libcommon.fa.p/hw_dma_bcm2835_dma.c.o libcommon.fa.p/hw_gpio_gpio_key.c.o libcommon.fa.p/hw_gpio_gpio_pwr.c.o libcommon.fa.p/hw_gpio_max7310.c.o libcommon.fa.p/hw_gpio_pl061.c.o libcommon.fa.p/hw_gpio_zaurus.c.o libcommon.fa.p/hw_gpio_imx_gpio.c.o libcommon.fa.p/hw_gpio_npcm7xx_gpio.c.o libcommon.fa.p/hw_gpio_nrf51_gpio.c.o libcommon.fa.p/hw_gpio_omap_gpio.c.o libcommon.fa.p/hw_gpio_bcm2835_gpio.c.o libcommon.fa.p/hw_gpio_aspeed_gpio.c.o libcommon.fa.p/hw_gpio_stm32_gpio.c.o libcommon.fa.p/hw_gpio_stm32_afio.c.o libcommon.fa.p/hw_gpio_stm32_exti.c.o libcommon.fa.p/hw_i2c_core.c.o libcommon.fa.p/hw_i2c_smbus_slave.c.o libcommon.fa.p/hw_i2c_smbus_master.c.o libcommon.fa.p/hw_i2c_aspeed_i2c.c.o libcommon.fa.p/hw_i2c_bitbang_i2c.c.o libcommon.fa.p/hw_i2c_exynos4210_i2c.c.o libcommon.fa.p/hw_i2c_imx_i2c.c.o libcommon.fa.p/hw_i2c_microbit_i2c.c.o libcommon.fa.p/hw_i2c_npcm7xx_smbus.c.o libcommon.fa.p/hw_i2c_smbus_eeprom.c.o libcommon.fa.p/hw_i2c_versatile_i2c.c.o libcommon.fa.p/hw_i2c_omap_i2c.c.o libcommon.fa.p/hw_i2c_i2c_mux_pca954x.c.o libcommon.fa.p/hw_i2c_pmbus_device.c.o libcommon.fa.p/hw_i2c_picsimlab_i2c.c.o libcommon.fa.p/hw_ide_ahci.c.o libcommon.fa.p/hw_ide_ich.c.o libcommon.fa.p/hw_ide_ahci-allwinner.c.o libcommon.fa.p/hw_ide_core.c.o libcommon.fa.p/hw_ide_atapi.c.o libcommon.fa.p/hw_ide_qdev.c.o libcommon.fa.p/hw_ide_microdrive.c.o libcommon.fa.p/hw_input_hid.c.o libcommon.fa.p/hw_input_ads7846.c.o libcommon.fa.p/hw_input_lm832x.c.o libcommon.fa.p/hw_input_pl050.c.o libcommon.fa.p/hw_input_ps2.c.o libcommon.fa.p/hw_input_stellaris_input.c.o libcommon.fa.p/hw_input_tsc2005.c.o libcommon.fa.p/hw_input_virtio-input.c.o libcommon.fa.p/hw_input_virtio-input-hid.c.o libcommon.fa.p/hw_input_pxa2xx_keypad.c.o libcommon.fa.p/hw_input_tsc210x.c.o libcommon.fa.p/hw_intc_intc.c.o libcommon.fa.p/hw_intc_arm_gic.c.o libcommon.fa.p/hw_intc_arm_gic_common.c.o libcommon.fa.p/hw_intc_arm_gicv2m.c.o libcommon.fa.p/hw_intc_arm_gicv3_common.c.o libcommon.fa.p/hw_intc_arm_gicv3_its_common.c.o libcommon.fa.p/hw_intc_arm_gicv3.c.o libcommon.fa.p/hw_intc_arm_gicv3_dist.c.o libcommon.fa.p/hw_intc_arm_gicv3_its.c.o libcommon.fa.p/hw_intc_arm_gicv3_redist.c.o libcommon.fa.p/hw_intc_imx_avic.c.o libcommon.fa.p/hw_intc_imx_gpcv2.c.o libcommon.fa.p/hw_intc_pl190.c.o libcommon.fa.p/hw_intc_realview_gic.c.o libcommon.fa.p/hw_intc_xilinx_intc.c.o libcommon.fa.p/hw_ipack_ipack.c.o libcommon.fa.p/hw_ipack_tpci200.c.o libcommon.fa.p/hw_mem_memory-device.c.o libcommon.fa.p/hw_mem_pc-dimm.c.o libcommon.fa.p/hw_mem_npcm7xx_mc.c.o libcommon.fa.p/hw_mem_nvdimm.c.o libcommon.fa.p/hw_misc_edu.c.o libcommon.fa.p/hw_misc_vmcoreinfo.c.o libcommon.fa.p/hw_misc_pca9552.c.o libcommon.fa.p/hw_misc_pci-testdev.c.o libcommon.fa.p/hw_misc_unimp.c.o libcommon.fa.p/hw_misc_led.c.o libcommon.fa.p/hw_misc_pvpanic.c.o libcommon.fa.p/hw_misc_arm_l2x0.c.o libcommon.fa.p/hw_misc_arm_integrator_debug.c.o libcommon.fa.p/hw_misc_a9scu.c.o libcommon.fa.p/hw_misc_arm11scu.c.o libcommon.fa.p/hw_misc_armv7m_ras.c.o libcommon.fa.p/hw_misc_allwinner-h3-ccu.c.o libcommon.fa.p/hw_misc_allwinner-h3-dramc.c.o libcommon.fa.p/hw_misc_allwinner-h3-sysctrl.c.o libcommon.fa.p/hw_misc_allwinner-sid.c.o libcommon.fa.p/hw_misc_arm_sysctl.c.o libcommon.fa.p/hw_misc_cbus.c.o libcommon.fa.p/hw_misc_exynos4210_pmu.c.o libcommon.fa.p/hw_misc_exynos4210_clk.c.o libcommon.fa.p/hw_misc_exynos4210_rng.c.o libcommon.fa.p/hw_misc_imx25_ccm.c.o libcommon.fa.p/hw_misc_imx31_ccm.c.o libcommon.fa.p/hw_misc_imx6_ccm.c.o libcommon.fa.p/hw_misc_imx6ul_ccm.c.o libcommon.fa.p/hw_misc_imx7_ccm.c.o libcommon.fa.p/hw_misc_imx7_gpr.c.o libcommon.fa.p/hw_misc_imx7_snvs.c.o libcommon.fa.p/hw_misc_imx_ccm.c.o libcommon.fa.p/hw_misc_imx_rngc.c.o libcommon.fa.p/hw_misc_mst_fpga.c.o libcommon.fa.p/hw_misc_npcm7xx_clk.c.o libcommon.fa.p/hw_misc_npcm7xx_gcr.c.o libcommon.fa.p/hw_misc_npcm7xx_mft.c.o libcommon.fa.p/hw_misc_npcm7xx_pwm.c.o libcommon.fa.p/hw_misc_npcm7xx_rng.c.o libcommon.fa.p/hw_misc_omap_clk.c.o libcommon.fa.p/hw_misc_omap_gpmc.c.o libcommon.fa.p/hw_misc_omap_l4.c.o libcommon.fa.p/hw_misc_omap_sdrc.c.o libcommon.fa.p/hw_misc_omap_tap.c.o libcommon.fa.p/hw_misc_bcm2835_mbox.c.o libcommon.fa.p/hw_misc_bcm2835_mphi.c.o libcommon.fa.p/hw_misc_bcm2835_property.c.o libcommon.fa.p/hw_misc_bcm2835_rng.c.o libcommon.fa.p/hw_misc_bcm2835_thermal.c.o libcommon.fa.p/hw_misc_bcm2835_cprman.c.o libcommon.fa.p/hw_misc_bcm2835_powermgt.c.o libcommon.fa.p/hw_misc_zynq_slcr.c.o libcommon.fa.p/hw_misc_stm32f2xx_syscfg.c.o libcommon.fa.p/hw_misc_stm32f4xx_syscfg.c.o libcommon.fa.p/hw_misc_stm32f4xx_exti.c.o libcommon.fa.p/hw_misc_mps2-fpgaio.c.o libcommon.fa.p/hw_misc_mps2-scc.c.o libcommon.fa.p/hw_misc_tz-mpc.c.o libcommon.fa.p/hw_misc_tz-msc.c.o libcommon.fa.p/hw_misc_tz-ppc.c.o libcommon.fa.p/hw_misc_iotkit-secctl.c.o libcommon.fa.p/hw_misc_iotkit-sysinfo.c.o libcommon.fa.p/hw_misc_armsse-cpu-pwrctrl.c.o libcommon.fa.p/hw_misc_armsse-cpuid.c.o libcommon.fa.p/hw_misc_armsse-mhu.c.o libcommon.fa.p/hw_misc_pvpanic-pci.c.o libcommon.fa.p/hw_misc_aspeed_hace.c.o libcommon.fa.p/hw_misc_aspeed_i3c.c.o libcommon.fa.p/hw_misc_aspeed_lpc.c.o libcommon.fa.p/hw_misc_aspeed_scu.c.o libcommon.fa.p/hw_misc_aspeed_sbc.c.o libcommon.fa.p/hw_misc_aspeed_sdmc.c.o libcommon.fa.p/hw_misc_aspeed_xdma.c.o libcommon.fa.p/hw_misc_msf2-sysreg.c.o libcommon.fa.p/hw_misc_nrf51_rng.c.o libcommon.fa.p/hw_net_ne2000.c.o libcommon.fa.p/hw_net_ne2000-pci.c.o libcommon.fa.p/hw_net_eepro100.c.o libcommon.fa.p/hw_net_pcnet-pci.c.o libcommon.fa.p/hw_net_pcnet.c.o libcommon.fa.p/hw_net_e1000.c.o libcommon.fa.p/hw_net_e1000x_common.c.o libcommon.fa.p/hw_net_net_tx_pkt.c.o libcommon.fa.p/hw_net_net_rx_pkt.c.o libcommon.fa.p/hw_net_e1000e.c.o libcommon.fa.p/hw_net_e1000e_core.c.o libcommon.fa.p/hw_net_rtl8139.c.o libcommon.fa.p/hw_net_tulip.c.o libcommon.fa.p/hw_net_vmxnet3.c.o libcommon.fa.p/hw_net_smc91c111.c.o libcommon.fa.p/hw_net_lan9118.c.o libcommon.fa.p/hw_net_xgmac.c.o libcommon.fa.p/hw_net_xilinx_axienet.c.o libcommon.fa.p/hw_net_allwinner_emac.c.o libcommon.fa.p/hw_net_allwinner-sun8i-emac.c.o libcommon.fa.p/hw_net_imx_fec.c.o libcommon.fa.p/hw_net_msf2-emac.c.o libcommon.fa.p/hw_net_mv88w8618_eth.c.o libcommon.fa.p/hw_net_cadence_gem.c.o libcommon.fa.p/hw_net_stellaris_enet.c.o libcommon.fa.p/hw_net_ftgmac100.c.o libcommon.fa.p/hw_net_npcm7xx_emc.c.o libcommon.fa.p/hw_net_vhost_net-stub.c.o libcommon.fa.p/hw_net_rocker_rocker.c.o libcommon.fa.p/hw_net_rocker_rocker_desc.c.o libcommon.fa.p/hw_net_rocker_rocker_fp.c.o libcommon.fa.p/hw_net_rocker_rocker_of_dpa.c.o libcommon.fa.p/hw_net_rocker_rocker_world.c.o libcommon.fa.p/hw_net_can_can_sja1000.c.o libcommon.fa.p/hw_net_can_can_kvaser_pci.c.o libcommon.fa.p/hw_net_can_can_pcm3680_pci.c.o libcommon.fa.p/hw_net_can_can_mioe3680_pci.c.o libcommon.fa.p/hw_net_can_ctucan_core.c.o libcommon.fa.p/hw_net_can_ctucan_pci.c.o libcommon.fa.p/hw_nvme_ctrl.c.o libcommon.fa.p/hw_nvme_dif.c.o libcommon.fa.p/hw_nvme_ns.c.o libcommon.fa.p/hw_nvme_subsys.c.o libcommon.fa.p/hw_nvram_fw_cfg.c.o libcommon.fa.p/hw_nvram_eeprom93xx.c.o libcommon.fa.p/hw_nvram_eeprom_at24c.c.o libcommon.fa.p/hw_nvram_npcm7xx_otp.c.o libcommon.fa.p/hw_nvram_nrf51_nvm.c.o libcommon.fa.p/hw_pci_pcie_port.c.o libcommon.fa.p/hw_pci_pcie_host.c.o libcommon.fa.p/hw_pci_msi.c.o libcommon.fa.p/hw_pci_msix.c.o libcommon.fa.p/hw_pci_pci.c.o libcommon.fa.p/hw_pci_pci_bridge.c.o libcommon.fa.p/hw_pci_pci_host.c.o libcommon.fa.p/hw_pci_shpc.c.o libcommon.fa.p/hw_pci_slotid_cap.c.o libcommon.fa.p/hw_pci_pcie.c.o libcommon.fa.p/hw_pci_pcie_aer.c.o libcommon.fa.p/hw_pci-bridge_pci_bridge_dev.c.o libcommon.fa.p/hw_pci-bridge_i82801b11.c.o libcommon.fa.p/hw_pci-bridge_ioh3420.c.o libcommon.fa.p/hw_pci-bridge_pcie_root_port.c.o libcommon.fa.p/hw_pci-bridge_gen_pcie_root_port.c.o libcommon.fa.p/hw_pci-bridge_pcie_pci_bridge.c.o libcommon.fa.p/hw_pci-bridge_pci_expander_bridge.c.o libcommon.fa.p/hw_pci-bridge_xio3130_upstream.c.o libcommon.fa.p/hw_pci-bridge_xio3130_downstream.c.o libcommon.fa.p/hw_pci-host_designware.c.o libcommon.fa.p/hw_pci-host_gpex.c.o libcommon.fa.p/hw_pci-host_gpex-acpi.c.o libcommon.fa.p/hw_pci-host_versatile.c.o libcommon.fa.p/hw_pcmcia_pcmcia.c.o libcommon.fa.p/hw_pcmcia_pxa2xx.c.o libcommon.fa.p/hw_rtc_ds1338.c.o libcommon.fa.p/hw_rtc_m41t80.c.o libcommon.fa.p/hw_rtc_pl031.c.o libcommon.fa.p/hw_rtc_twl92230.c.o libcommon.fa.p/hw_rtc_exynos4210_rtc.c.o libcommon.fa.p/hw_rtc_aspeed_rtc.c.o libcommon.fa.p/hw_rtc_allwinner-rtc.c.o libcommon.fa.p/hw_scsi_emulation.c.o libcommon.fa.p/hw_scsi_scsi-bus.c.o libcommon.fa.p/hw_scsi_scsi-disk.c.o libcommon.fa.p/hw_scsi_scsi-generic.c.o libcommon.fa.p/hw_scsi_esp.c.o libcommon.fa.p/hw_scsi_esp-pci.c.o libcommon.fa.p/hw_scsi_lsi53c895a.c.o libcommon.fa.p/hw_scsi_megasas.c.o libcommon.fa.p/hw_scsi_mptsas.c.o libcommon.fa.p/hw_scsi_mptconfig.c.o libcommon.fa.p/hw_scsi_mptendian.c.o libcommon.fa.p/hw_scsi_vmw_pvscsi.c.o libcommon.fa.p/hw_sd_pl181.c.o libcommon.fa.p/hw_sd_sd.c.o libcommon.fa.p/hw_sd_core.c.o libcommon.fa.p/hw_sd_sdmmc-internal.c.o libcommon.fa.p/hw_sd_sdhci.c.o libcommon.fa.p/hw_sd_sdhci-pci.c.o libcommon.fa.p/hw_sd_ssi-sd.c.o libcommon.fa.p/hw_sd_omap_mmc.c.o libcommon.fa.p/hw_sd_pxa2xx_mmci.c.o libcommon.fa.p/hw_sd_bcm2835_sdhost.c.o libcommon.fa.p/hw_sd_aspeed_sdhci.c.o libcommon.fa.p/hw_sd_allwinner-sdhost.c.o libcommon.fa.p/hw_sd_npcm7xx_sdhci.c.o libcommon.fa.p/hw_sensor_tmp105.c.o libcommon.fa.p/hw_sensor_tmp421.c.o libcommon.fa.p/hw_sensor_dps310.c.o libcommon.fa.p/hw_sensor_emc141x.c.o libcommon.fa.p/hw_sensor_adm1272.c.o libcommon.fa.p/hw_sensor_max34451.c.o libcommon.fa.p/hw_sensor_lsm303dlhc_mag.c.o libcommon.fa.p/hw_smbios_smbios.c.o libcommon.fa.p/hw_smbios_smbios_type_38-stub.c.o libcommon.fa.p/hw_ssi_aspeed_smc.c.o libcommon.fa.p/hw_ssi_mss-spi.c.o libcommon.fa.p/hw_ssi_npcm7xx_fiu.c.o libcommon.fa.p/hw_ssi_pl022.c.o libcommon.fa.p/hw_ssi_ssi.c.o libcommon.fa.p/hw_ssi_stm32f2xx_spi.c.o libcommon.fa.p/hw_ssi_xilinx_spi.c.o libcommon.fa.p/hw_ssi_xilinx_spips.c.o libcommon.fa.p/hw_ssi_imx_spi.c.o libcommon.fa.p/hw_ssi_omap_spi.c.o libcommon.fa.p/hw_ssi_stm32_spi.c.o libcommon.fa.p/hw_ssi_picsimlab_spi.c.o libcommon.fa.p/hw_timer_a9gtimer.c.o libcommon.fa.p/hw_timer_allwinner-a10-pit.c.o libcommon.fa.p/hw_timer_arm_mptimer.c.o libcommon.fa.p/hw_timer_arm_timer.c.o libcommon.fa.p/hw_timer_armv7m_systick.c.o libcommon.fa.p/hw_timer_aspeed_timer.c.o libcommon.fa.p/hw_timer_cadence_ttc.c.o libcommon.fa.p/hw_timer_cmsdk-apb-dualtimer.c.o libcommon.fa.p/hw_timer_cmsdk-apb-timer.c.o libcommon.fa.p/hw_timer_digic-timer.c.o libcommon.fa.p/hw_timer_exynos4210_mct.c.o libcommon.fa.p/hw_timer_exynos4210_pwm.c.o libcommon.fa.p/hw_timer_imx_epit.c.o libcommon.fa.p/hw_timer_imx_gpt.c.o libcommon.fa.p/hw_timer_mss-timer.c.o libcommon.fa.p/hw_timer_npcm7xx_timer.c.o libcommon.fa.p/hw_timer_nrf51_timer.c.o libcommon.fa.p/hw_timer_omap_gptimer.c.o libcommon.fa.p/hw_timer_omap_synctimer.c.o libcommon.fa.p/hw_timer_pxa2xx_timer.c.o libcommon.fa.p/hw_timer_bcm2835_systmr.c.o libcommon.fa.p/hw_timer_sse-counter.c.o libcommon.fa.p/hw_timer_sse-timer.c.o libcommon.fa.p/hw_timer_stellaris-gptm.c.o libcommon.fa.p/hw_timer_stm32f2xx_timer.c.o libcommon.fa.p/hw_timer_stm32_rtc.c.o libcommon.fa.p/hw_timer_stm32_timer.c.o libcommon.fa.p/hw_timer_xilinx_timer.c.o libcommon.fa.p/hw_usb_bus.c.o libcommon.fa.p/hw_usb_combined-packet.c.o libcommon.fa.p/hw_usb_core.c.o libcommon.fa.p/hw_usb_desc.c.o libcommon.fa.p/hw_usb_desc-msos.c.o libcommon.fa.p/hw_usb_libhw.c.o libcommon.fa.p/hw_usb_pcap.c.o libcommon.fa.p/hw_usb_hcd-uhci.c.o libcommon.fa.p/hw_usb_hcd-ohci.c.o libcommon.fa.p/hw_usb_hcd-ohci-pci.c.o libcommon.fa.p/hw_usb_hcd-ehci.c.o libcommon.fa.p/hw_usb_hcd-ehci-pci.c.o libcommon.fa.p/hw_usb_hcd-ehci-sysbus.c.o libcommon.fa.p/hw_usb_hcd-xhci.c.o libcommon.fa.p/hw_usb_hcd-xhci-pci.c.o libcommon.fa.p/hw_usb_hcd-xhci-nec.c.o libcommon.fa.p/hw_usb_hcd-musb.c.o libcommon.fa.p/hw_usb_hcd-dwc2.c.o libcommon.fa.p/hw_usb_tusb6010.c.o libcommon.fa.p/hw_usb_chipidea.c.o libcommon.fa.p/hw_usb_imx-usb-phy.c.o libcommon.fa.p/hw_usb_dev-hub.c.o libcommon.fa.p/hw_usb_dev-hid.c.o libcommon.fa.p/hw_usb_dev-wacom.c.o libcommon.fa.p/hw_usb_dev-storage.c.o libcommon.fa.p/hw_usb_dev-storage-bot.c.o libcommon.fa.p/hw_usb_dev-storage-classic.c.o libcommon.fa.p/hw_usb_dev-uas.c.o libcommon.fa.p/hw_usb_dev-audio.c.o libcommon.fa.p/hw_usb_dev-serial.c.o libcommon.fa.p/hw_usb_dev-network.c.o libcommon.fa.p/hw_usb_dev-mtp.c.o libcommon.fa.p/hw_usb_dev-smartcard-reader.c.o libcommon.fa.p/hw_usb_u2f.c.o libcommon.fa.p/hw_virtio_virtio-bus.c.o libcommon.fa.p/hw_virtio_virtio-pci.c.o libcommon.fa.p/hw_virtio_virtio-mmio.c.o libcommon.fa.p/hw_virtio_vhost-stub.c.o libcommon.fa.p/hw_watchdog_watchdog.c.o libcommon.fa.p/hw_watchdog_cmsdk-apb-watchdog.c.o libcommon.fa.p/hw_watchdog_wdt_i6300esb.c.o libcommon.fa.p/hw_watchdog_wdt_aspeed.c.o libcommon.fa.p/hw_watchdog_wdt_imx2.c.o libcommon.fa.p/accel_accel-softmmu.c.o libcommon.fa.p/ebpf_ebpf_rss-stub.c.o libcommon.fa.p/hw_display_virtio-gpu-base.c.o libcommon.fa.p/hw_display_virtio-gpu.c.o libcommon.fa.p/hw_display_virtio-gpu-udmabuf-stubs.c.o libcommon.fa.p/hw_display_virtio-gpu-pci.c.o libqemu-arm-softmmu.fa.p/target_arm_arch_dump.c.o libqemu-arm-softmmu.fa.p/target_arm_arm-powerctl.c.o libqemu-arm-softmmu.fa.p/target_arm_machine.c.o libqemu-arm-softmmu.fa.p/target_arm_monitor.c.o libqemu-arm-softmmu.fa.p/target_arm_psci.c.o libqemu-arm-softmmu.fa.p/hw_arm_boot.c.o libqemu-arm-softmmu.fa.p/hw_arm_sysbus-fdt.c.o libqemu-arm-softmmu.fa.p/hw_arm_virt.c.o libqemu-arm-softmmu.fa.p/hw_arm_virt-acpi-build.c.o libqemu-arm-softmmu.fa.p/hw_arm_digic_boards.c.o libqemu-arm-softmmu.fa.p/hw_arm_exynos4_boards.c.o libqemu-arm-softmmu.fa.p/hw_arm_msf2-som.c.o libqemu-arm-softmmu.fa.p/hw_arm_highbank.c.o libqemu-arm-softmmu.fa.p/hw_arm_integratorcp.c.o libqemu-arm-softmmu.fa.p/hw_arm_mainstone.c.o libqemu-arm-softmmu.fa.p/hw_arm_microbit.c.o libqemu-arm-softmmu.fa.p/hw_arm_musicpal.c.o libqemu-arm-softmmu.fa.p/hw_arm_netduino2.c.o libqemu-arm-softmmu.fa.p/hw_arm_netduinoplus2.c.o libqemu-arm-softmmu.fa.p/hw_arm_npcm7xx.c.o libqemu-arm-softmmu.fa.p/hw_arm_npcm7xx_boards.c.o libqemu-arm-softmmu.fa.p/hw_arm_nseries.c.o libqemu-arm-softmmu.fa.p/hw_arm_omap_sx1.c.o libqemu-arm-softmmu.fa.p/hw_arm_palm.c.o libqemu-arm-softmmu.fa.p/hw_arm_gumstix.c.o libqemu-arm-softmmu.fa.p/hw_arm_spitz.c.o libqemu-arm-softmmu.fa.p/hw_arm_tosa.c.o libqemu-arm-softmmu.fa.p/hw_arm_z2.c.o libqemu-arm-softmmu.fa.p/hw_arm_realview.c.o libqemu-arm-softmmu.fa.p/hw_arm_stellaris.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32vldiscovery.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_adc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_crc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32f100_soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32f205_soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_iwdg.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_dac.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_f103c8.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_rcc.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_clktree.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_dma.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_flash.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_i2c.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_p103.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_p103_picsimlab.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_p103_picsimlab_new.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_f103c8_picsimlab.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32_f103c8_picsimlab_new.c.o libqemu-arm-softmmu.fa.p/hw_arm_collie.c.o libqemu-arm-softmmu.fa.p/hw_arm_versatilepb.c.o libqemu-arm-softmmu.fa.p/hw_arm_vexpress.c.o libqemu-arm-softmmu.fa.p/hw_arm_xilinx_zynq.c.o libqemu-arm-softmmu.fa.p/hw_arm_sabrelite.c.o libqemu-arm-softmmu.fa.p/hw_arm_armv7m.c.o libqemu-arm-softmmu.fa.p/hw_arm_exynos4210.c.o libqemu-arm-softmmu.fa.p/hw_arm_pxa2xx.c.o libqemu-arm-softmmu.fa.p/hw_arm_pxa2xx_gpio.c.o libqemu-arm-softmmu.fa.p/hw_arm_pxa2xx_pic.c.o libqemu-arm-softmmu.fa.p/hw_arm_digic.c.o libqemu-arm-softmmu.fa.p/hw_arm_omap1.c.o libqemu-arm-softmmu.fa.p/hw_arm_omap2.c.o libqemu-arm-softmmu.fa.p/hw_arm_strongarm.c.o libqemu-arm-softmmu.fa.p/hw_arm_allwinner-a10.c.o libqemu-arm-softmmu.fa.p/hw_arm_cubieboard.c.o libqemu-arm-softmmu.fa.p/hw_arm_allwinner-h3.c.o libqemu-arm-softmmu.fa.p/hw_arm_orangepi.c.o libqemu-arm-softmmu.fa.p/hw_arm_bcm2835_peripherals.c.o libqemu-arm-softmmu.fa.p/hw_arm_bcm2836.c.o libqemu-arm-softmmu.fa.p/hw_arm_raspi.c.o libqemu-arm-softmmu.fa.p/hw_arm_stm32f405_soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx25.c.o libqemu-arm-softmmu.fa.p/hw_arm_imx25_pdk.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx31.c.o libqemu-arm-softmmu.fa.p/hw_arm_kzm.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx6.c.o libqemu-arm-softmmu.fa.p/hw_arm_aspeed_soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_aspeed.c.o libqemu-arm-softmmu.fa.p/hw_arm_aspeed_ast2600.c.o libqemu-arm-softmmu.fa.p/hw_arm_mps2.c.o libqemu-arm-softmmu.fa.p/hw_arm_mps2-tz.c.o libqemu-arm-softmmu.fa.p/hw_arm_msf2-soc.c.o libqemu-arm-softmmu.fa.p/hw_arm_musca.c.o libqemu-arm-softmmu.fa.p/hw_arm_armsse.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx7.c.o libqemu-arm-softmmu.fa.p/hw_arm_mcimx7d-sabre.c.o libqemu-arm-softmmu.fa.p/hw_arm_smmu-common.c.o libqemu-arm-softmmu.fa.p/hw_arm_smmuv3.c.o libqemu-arm-softmmu.fa.p/hw_arm_fsl-imx6ul.c.o libqemu-arm-softmmu.fa.p/hw_arm_mcimx6ul-evk.c.o libqemu-arm-softmmu.fa.p/hw_arm_nrf51_soc.c.o libqemu-arm-softmmu.fa.p/target_arm_cpu.c.o libqemu-arm-softmmu.fa.p/target_arm_crypto_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_debug_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_gdbstub.c.o libqemu-arm-softmmu.fa.p/target_arm_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_iwmmxt_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_m_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_mve_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_neon_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_op_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_tlb_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_translate.c.o libqemu-arm-softmmu.fa.p/target_arm_translate-m-nocp.c.o libqemu-arm-softmmu.fa.p/target_arm_translate-mve.c.o libqemu-arm-softmmu.fa.p/target_arm_translate-neon.c.o libqemu-arm-softmmu.fa.p/target_arm_translate-vfp.c.o libqemu-arm-softmmu.fa.p/target_arm_vec_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_vfp_helper.c.o libqemu-arm-softmmu.fa.p/target_arm_cpu_tcg.c.o libqemu-arm-softmmu.fa.p/target_arm_kvm-stub.c.o libqemu-arm-softmmu.fa.p/trace_control-target.c.o libqemu-arm-softmmu.fa.p/dump_dump.c.o libqemu-arm-softmmu.fa.p/softmmu_arch_init.c.o libqemu-arm-softmmu.fa.p/softmmu_balloon.c.o libqemu-arm-softmmu.fa.p/softmmu_cpus.c.o libqemu-arm-softmmu.fa.p/softmmu_cpu-throttle.c.o libqemu-arm-softmmu.fa.p/softmmu_datadir.c.o libqemu-arm-softmmu.fa.p/softmmu_globals.c.o libqemu-arm-softmmu.fa.p/softmmu_physmem.c.o libqemu-arm-softmmu.fa.p/softmmu_ioport.c.o libqemu-arm-softmmu.fa.p/softmmu_rtc.c.o libqemu-arm-softmmu.fa.p/softmmu_runstate.c.o libqemu-arm-softmmu.fa.p/softmmu_memory.c.o libqemu-arm-softmmu.fa.p/softmmu_memory_mapping.c.o libqemu-arm-softmmu.fa.p/softmmu_qtest.c.o libqemu-arm-softmmu.fa.p/softmmu_vl.c.o libqemu-arm-softmmu.fa.p/softmmu_cpu-timers.c.o libqemu-arm-softmmu.fa.p/softmmu_runstate-action.c.o libqemu-arm-softmmu.fa.p/softmmu_icount.c.o libqemu-arm-softmmu.fa.p/cpu.c.o libqemu-arm-softmmu.fa.p/disas.c.o libqemu-arm-softmmu.fa.p/gdbstub.c.o libqemu-arm-softmmu.fa.p/page-vary.c.o libqemu-arm-softmmu.fa.p/migration_dirtyrate.c.o libqemu-arm-softmmu.fa.p/migration_ram.c.o libqemu-arm-softmmu.fa.p/migration_target.c.o libqemu-arm-softmmu.fa.p/monitor_misc.c.o libqemu-arm-softmmu.fa.p/semihosting_config.c.o libqemu-arm-softmmu.fa.p/semihosting_console.c.o libqemu-arm-softmmu.fa.p/semihosting_arm-compat-semi.c.o libqemu-arm-softmmu.fa.p/hw_block_virtio-blk.c.o libqemu-arm-softmmu.fa.p/hw_block_dataplane_virtio-blk.c.o libqemu-arm-softmmu.fa.p/hw_char_virtio-serial-bus.c.o libqemu-arm-softmmu.fa.p/hw_core_machine-qmp-cmds.c.o libqemu-arm-softmmu.fa.p/hw_core_numa.c.o libqemu-arm-softmmu.fa.p/hw_cpu_arm11mpcore.c.o libqemu-arm-softmmu.fa.p/hw_cpu_realview_mpcore.c.o libqemu-arm-softmmu.fa.p/hw_cpu_a9mpcore.c.o libqemu-arm-softmmu.fa.p/hw_cpu_a15mpcore.c.o libqemu-arm-softmmu.fa.p/hw_display_vga.c.o libqemu-arm-softmmu.fa.p/hw_display_omap_lcdc.c.o libqemu-arm-softmmu.fa.p/hw_intc_allwinner-a10-pic.c.o libqemu-arm-softmmu.fa.p/hw_intc_arm_gicv3_cpuif_common.c.o libqemu-arm-softmmu.fa.p/hw_intc_arm_gicv3_cpuif.c.o libqemu-arm-softmmu.fa.p/hw_intc_armv7m_nvic.c.o libqemu-arm-softmmu.fa.p/hw_intc_aspeed_vic.c.o libqemu-arm-softmmu.fa.p/hw_intc_exynos4210_gic.c.o libqemu-arm-softmmu.fa.p/hw_intc_exynos4210_combiner.c.o libqemu-arm-softmmu.fa.p/hw_intc_omap_intc.c.o libqemu-arm-softmmu.fa.p/hw_intc_bcm2835_ic.c.o libqemu-arm-softmmu.fa.p/hw_intc_bcm2836_control.c.o libqemu-arm-softmmu.fa.p/hw_misc_allwinner-cpucfg.c.o libqemu-arm-softmmu.fa.p/hw_misc_imx6_src.c.o libqemu-arm-softmmu.fa.p/hw_misc_iotkit-sysctl.c.o libqemu-arm-softmmu.fa.p/hw_net_virtio-net.c.o libqemu-arm-softmmu.fa.p/hw_scsi_virtio-scsi.c.o libqemu-arm-softmmu.fa.p/hw_scsi_virtio-scsi-dataplane.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-balloon.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-crypto.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-crypto-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-rng.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-iommu.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-input-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-rng-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-balloon-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-scsi-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-blk-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-net-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-serial-pci.c.o libqemu-arm-softmmu.fa.p/hw_virtio_virtio-iommu-pci.c.o libqemu-arm-softmmu.fa.p/tcg_optimize.c.o libqemu-arm-softmmu.fa.p/tcg_region.c.o libqemu-arm-softmmu.fa.p/tcg_tcg.c.o libqemu-arm-softmmu.fa.p/tcg_tcg-common.c.o libqemu-arm-softmmu.fa.p/tcg_tcg-op.c.o libqemu-arm-softmmu.fa.p/tcg_tcg-op-gvec.c.o libqemu-arm-softmmu.fa.p/tcg_tcg-op-vec.c.o libqemu-arm-softmmu.fa.p/fpu_softfloat.c.o libqemu-arm-softmmu.fa.p/accel_accel-common.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-all.c.o libqemu-arm-softmmu.fa.p/accel_tcg_cpu-exec-common.c.o libqemu-arm-softmmu.fa.p/accel_tcg_cpu-exec.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-runtime-gvec.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-runtime.c.o libqemu-arm-softmmu.fa.p/accel_tcg_translate-all.c.o libqemu-arm-softmmu.fa.p/accel_tcg_translator.c.o libqemu-arm-softmmu.fa.p/accel_tcg_cputlb.c.o libqemu-arm-softmmu.fa.p/accel_tcg_hmp.c.o libqemu-arm-softmmu.fa.p/accel_stubs_hax-stub.c.o libqemu-arm-softmmu.fa.p/accel_stubs_xen-stub.c.o libqemu-arm-softmmu.fa.p/accel_stubs_kvm-stub.c.o libqemu-arm-softmmu.fa.p/accel_dummy-cpus.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-accel-ops.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-accel-ops-mttcg.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-accel-ops-icount.c.o libqemu-arm-softmmu.fa.p/accel_tcg_tcg-accel-ops-rr.c.o libqemu-arm-softmmu.fa.p/accel_qtest_qtest.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._arm-softmmu-gdbstub-xml.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-types-machine-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-visit-machine-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-events-machine-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-commands-machine-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-types-misc-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-visit-misc-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-events-misc-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-commands-misc-target.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-introspect.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-types.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-visit.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-commands.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-init-commands.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-events.c.o libqemu-arm-softmmu.fa.p/meson-generated_.._qapi_qapi-emit-events.c.o qemu-system-arm-unsigned.p/softmmu_main.c.o -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0 -L/usr/local/opt/curl/lib -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-undefined,error -Wl,-force_load libhwcore.fa -Wl,-force_load libqom.fa -Wl,-force_load libio.fa -Wl,-force_load libcrypto.fa -Wl,-force_load libauthz.fa -Wl,-force_load libblockdev.fa -Wl,-force_load libblock.fa -Wl,-force_load libchardev.fa -Wl,-force_load libqmp.fa -fstack-protector-strong -fPIC -Wl,-rpath,/usr/local/Cellar/pixman/0.42.2/lib libfdt.a libcapstone.a libqemuutil.a libmigration.fa libhwcore.fa libqom.fa libio.fa libcrypto.fa libauthz.fa libblockdev.fa libblock.fa libchardev.fa libqmp.fa @block.syms @qemu.syms -lz /usr/local/Cellar/pixman/0.42.2/lib/libpixman-1.dylib @block.syms -lutil -lm -L/usr/local/Cellar/glib/2.78.1/lib -L/usr/local/opt/gettext/lib -lgthread-2.0 -lglib-2.0 -lintl -lz -framework CoreFoundation -framework IOKit -lc++
ld: warning: -undefined error is deprecated
ld: warning: ignoring duplicate libraries: '-lc++', '-lz'
[3/3] /Users/laris/coding/picsimlab/build_all/qemu/scripts/entitlement.sh qemu-system-arm qemu-system-arm-unsigned ../pc-bios/qemu.rsrc
repeat to test:
rm -rf qemu-system-arm qemu-system-arm-unsigned
make clean
ninja -d keeprsp
then will generated qemu-system-arm qemu-system-arm-unsigned
file but no qemu-system-arm.rsp
ninja -d keeprsp
[820/2547] Compiling C object libqemuutil.a.p/meson-generated_.._trace_trace-hw_ppc.c.o
[1095/2547] Linking static target libqemuutil.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_cacheflush.c.o) has n
o symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_stats64.c.o) has no s
ymbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_int128.c.o) has no sy
mbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(stubs_module-opts.c.o) has
no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_cacheflush.c.o) has n
o symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_stats64.c.o) has no s
ymbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(util_int128.c.o) has no sy
mbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(stubs_module-opts.c.o) has
no symbols
[1240/2547] Compiling C object libblock.fa.p/block_file-posix.c.o
../block/file-posix.c:3330:18: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
kernResult = IOMasterPort( MACH_PORT_NULL, &masterPort );
^~~~~~~~~~~~
kIOMainPortDefault
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Head
ers/IOKitLib.h:143:1: note: 'IOMasterPort' has been explicitly marked deprecated here
IOMasterPort( mach_port_t bootstrapPort,
^
1 warning generated.
[1268/2547] Linking static target libchardev.fa
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libchardev.fa(chardev_char-parallel.c.o)
has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libchardev.fa(chardev_char-parallel.c.o)
has no symbols
[1436/2547] Compiling C object libcommon.fa.p/hw_char_stm32_uart.c.o
../hw/char/stm32_uart.c:230:13: warning: explicitly assigning value of variable of type 'uint64_t' (aka 'unsigned long long') to itself [-Wse
lf-assign]
curr_time = curr_time; // Avoid "variable unused" compiler error
~~~~~~~~~ ^ ~~~~~~~~~
1 warning generated.
[1458/2547] Compiling C object libcommon.fa.p/hw_display_sii9022.c.o
../hw/display/sii9022.c:69:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
switch (event) {
^~~~~
../hw/display/sii9022.c:69:13: note: add missing switch cases
switch (event) {
^
1 warning generated.
[1459/2547] Compiling C object libcommon.fa.p/hw_display_ssd0303.c.o
../hw/display/ssd0303.c:190:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
switch (event) {
^~~~~
../hw/display/ssd0303.c:190:13: note: add missing switch cases
switch (event) {
^
1 warning generated.
[1497/2547] Compiling C object libcommon.fa.p/hw_i2c_smbus_slave.c.o
../hw/i2c/smbus_slave.c:67:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
switch (event) {
^~~~~
../hw/i2c/smbus_slave.c:67:13: note: add missing switch cases
switch (event) {
^
1 warning generated.
[1642/2547] Compiling C object libcommon.fa.p/hw_net_rtl8139.c.o
../hw/net/rtl8139.c:2159:21: warning: variable 'send_count' set but not used [-Wunused-but-set-variable]
int send_count = 0;
^
1 warning generated.
[1648/2547] Compiling C object libcommon.fa.p/hw_net_tulip.c.o
../hw/net/tulip.c:873:15: warning: variable 'n' set but not used [-Wunused-but-set-variable]
int word, n;
^
1 warning generated.
[1671/2547] Compiling C object libcommon.fa.p/hw_nvram_eeprom_at24c.c.o
../hw/nvram/eeprom_at24c.c:59:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
switch (event) {
^~~~~
../hw/nvram/eeprom_at24c.c:59:13: note: add missing switch cases
switch (event) {
^
1 warning generated.
[1739/2547] Compiling C object libcommon.fa.p/hw_sensor_lsm303dlhc_mag.c.o
../hw/sensor/lsm303dlhc_mag.c:419:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
switch (event) {
^~~~~
../hw/sensor/lsm303dlhc_mag.c:419:13: note: add missing switch cases
switch (event) {
^
1 warning generated.
[1908/2547] Compiling C object libqemu-arm-softmmu.fa.p/hw_arm_pxa2xx.c.o
../hw/arm/pxa2xx.c:1293:13: warning: enumeration value 'I2C_START_SEND_ASYNC' not handled in switch [-Wswitch]
switch (event) {
^~~~~
../hw/arm/pxa2xx.c:1293:13: note: add missing switch cases
switch (event) {
^
1 warning generated.
[1998/2547] Compiling C object libqemu-arm-softmmu.fa.p/migration_ram.c.o
../migration/ram.c:1292:31: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
migrate_release_ram() &
^~~~~~~~~~~~~~~~~~~~~~~
&&
../migration/ram.c:1292:31: note: cast one or both operands to int to silence this warning
1 warning generated.
[2055/2547] Linking target tests/bench/qht-bench
ld: warning: -undefined error is deprecated
[2056/2547] Linking target tests/bench/benchmark-crypto-hash
ld: warning: -undefined error is deprecated
[2057/2547] Linking target tests/bench/benchmark-crypto-hmac
ld: warning: -undefined error is deprecated
[2066/2547] Linking target tests/bench/benchmark-crypto-cipher
ld: warning: -undefined error is deprecated
[2242/2547] Linking target qemu-system-arm-unsigned
ld: warning: -undefined error is deprecated
ld: warning: ignoring duplicate libraries: '-lc++', '-lz'
[2255/2547] Linking target tests/unit/check-qstring
ld: warning: -undefined error is deprecated
[2256/2547] Linking target tests/unit/check-qlist
ld: warning: -undefined error is deprecated
[2257/2547] Linking target tests/unit/check-qnull
ld: warning: -undefined error is deprecated
[2259/2547] Linking target tests/unit/check-qnum
ld: warning: -undefined error is deprecated
[2260/2547] Linking target tests/unit/check-qdict
ld: warning: -undefined error is deprecated
[2262/2547] Linking target tests/unit/check-qlit
ld: warning: -undefined error is deprecated
[2265/2547] Linking target tests/unit/check-qobject
ld: warning: -undefined error is deprecated
[2266/2547] Linking target tests/unit/check-block-qdict
ld: warning: -undefined error is deprecated
[2270/2547] Linking target tests/unit/check-qjson
ld: warning: -undefined error is deprecated
[2273/2547] Linking target tests/unit/test-clone-visitor
ld: warning: -undefined error is deprecated
[2276/2547] Linking target tests/unit/test-forward-visitor
ld: warning: -undefined error is deprecated
[2278/2547] Linking target tests/unit/test-qobject-output-visitor
ld: warning: -undefined error is deprecated
[2280/2547] Linking target tests/unit/test-string-output-visitor
ld: warning: -undefined error is deprecated
[2281/2547] Linking target tests/unit/test-bitmap
ld: warning: -undefined error is deprecated
[2284/2547] Linking target tests/unit/test-opts-visitor
ld: warning: -undefined error is deprecated
[2285/2547] Linking target tests/unit/test-string-input-visitor
ld: warning: -undefined error is deprecated
[2288/2547] Linking target tests/unit/test-x86-cpuid
ld: warning: -undefined error is deprecated
[2289/2547] Linking target tests/unit/test-div128
ld: warning: -undefined error is deprecated
[2290/2547] Linking target tests/unit/test-qobject-input-visitor
ld: warning: -undefined error is deprecated
[2291/2547] Linking target tests/unit/test-shift128
ld: warning: -undefined error is deprecated
[2292/2547] Linking target tests/unit/test-visitor-serialization
ld: warning: -undefined error is deprecated
[2300/2547] Linking target tests/unit/test-mul64
ld: warning: -undefined error is deprecated
[2302/2547] Linking target tests/unit/rcutorture
ld: warning: -undefined error is deprecated
[2303/2547] Linking target tests/unit/test-int128
ld: warning: -undefined error is deprecated
[2304/2547] Linking target tests/unit/test-rcu-list
ld: warning: -undefined error is deprecated
[2306/2547] Linking target tests/unit/test-rcu-simpleq
ld: warning: -undefined error is deprecated
[2307/2547] Linking target tests/unit/test-rcu-tailq
ld: warning: -undefined error is deprecated
[2308/2547] Linking target tests/unit/test-rcu-slist
ld: warning: -undefined error is deprecated
[2311/2547] Linking target tests/unit/test-bitops
ld: warning: -undefined error is deprecated
[2313/2547] Linking target tests/unit/test-qht
ld: warning: -undefined error is deprecated
[2315/2547] Linking target tests/unit/test-bitcnt
ld: warning: -undefined error is deprecated
[2316/2547] Linking target tests/unit/test-qdist
ld: warning: -undefined error is deprecated
[2321/2547] Linking target tests/unit/check-qom-interface
ld: warning: -undefined error is deprecated
[2322/2547] Linking target tests/unit/test-qgraph
ld: warning: -undefined error is deprecated
[2323/2547] Linking target tests/fp/fp-test-log2
ld: warning: -undefined error is deprecated
[2326/2547] Linking target tests/fp/fp-bench
ld: warning: -undefined error is deprecated
[2327/2547] Linking target tests/fp/fp-test
ld: warning: -undefined error is deprecated
[2331/2547] Linking target tests/unit/test-uuid
ld: warning: -undefined error is deprecated
[2332/2547] Linking target tests/unit/test-cutils
ld: warning: -undefined error is deprecated
[2333/2547] Linking target tests/unit/test-logging
ld: warning: -undefined error is deprecated
[2338/2547] Linking target tests/unit/test-qapi-util
ld: warning: -undefined error is deprecated
[2343/2547] Linking target tests/unit/check-qom-proplist
ld: warning: -undefined error is deprecated
[2344/2547] Linking target tests/unit/ptimer-test
ld: warning: -undefined error is deprecated
[2345/2547] Linking target tests/unit/test-qemu-opts
ld: warning: -undefined error is deprecated
[2346/2547] Linking target tests/unit/test-qmp-event
ld: warning: -undefined error is deprecated
[2347/2547] Linking target tests/unit/test-keyval
ld: warning: -undefined error is deprecated
[2350/2547] Linking target tests/unit/test-coroutine
ld: warning: -undefined error is deprecated
[2358/2547] Linking target tests/unit/test-aio-multithread
ld: warning: -undefined error is deprecated
[2361/2547] Linking target tests/unit/test-smp-parse
ld: warning: -undefined error is deprecated
[2363/2547] Linking target tests/unit/test-aio
ld: warning: -undefined error is deprecated
[2368/2547] Linking target tests/unit/test-thread-pool
ld: warning: -undefined error is deprecated
[2372/2547] Linking target tests/unit/test-throttle
ld: warning: -undefined error is deprecated
[2378/2547] Linking target tests/unit/test-bdrv-graph-mod
ld: warning: -undefined error is deprecated
[2379/2547] Linking target tests/unit/test-hbitmap
ld: warning: -undefined error is deprecated
[2382/2547] Linking target tests/unit/test-blockjob
ld: warning: -undefined error is deprecated
[2383/2547] Linking target tests/unit/test-blockjob-txn
ld: warning: -undefined error is deprecated
[2384/2547] Linking target tests/unit/test-crypto-hash
ld: warning: -undefined error is deprecated
[2386/2547] Linking target tests/unit/test-crypto-hmac
ld: warning: -undefined error is deprecated
[2388/2547] Linking target tests/unit/test-authz-simple
ld: warning: -undefined error is deprecated
[2389/2547] Linking target tests/unit/test-crypto-cipher
ld: warning: -undefined error is deprecated
[2392/2547] Linking target tests/unit/test-crypto-secret
ld: warning: -undefined error is deprecated
[2394/2547] Linking target tests/unit/test-block-backend
ld: warning: -undefined error is deprecated
[2399/2547] Linking target tests/unit/test-authz-list
ld: warning: -undefined error is deprecated
[2400/2547] Linking target tests/unit/test-write-threshold
ld: warning: -undefined error is deprecated
[2402/2547] Linking target tests/unit/test-bdrv-drain
ld: warning: -undefined error is deprecated
[2403/2547] Linking target tests/unit/test-block-iothread
ld: warning: -undefined error is deprecated
[2404/2547] Linking target tests/unit/test-io-task
ld: warning: -undefined error is deprecated
[2405/2547] Linking target tests/unit/test-authz-listfile
ld: warning: -undefined error is deprecated
[2414/2547] Linking target tests/unit/test-io-channel-socket
ld: warning: -undefined error is deprecated
[2416/2547] Linking target tests/unit/test-io-channel-file
ld: warning: -undefined error is deprecated
[2418/2547] Linking target tests/unit/test-io-channel-command
ld: warning: -undefined error is deprecated
[2420/2547] Linking target tests/unit/test-io-channel-buffer
ld: warning: -undefined error is deprecated
[2421/2547] Linking target tests/unit/test-crypto-ivgen
ld: warning: -undefined error is deprecated
[2425/2547] Linking target tests/unit/test-crypto-afsplit
ld: warning: -undefined error is deprecated
[2427/2547] Linking target tests/unit/test-crypto-block
ld: warning: -undefined error is deprecated
[2431/2547] Linking target tests/unit/test-xbzrle
ld: warning: -undefined error is deprecated
[2433/2547] Linking target tests/unit/test-timed-average
ld: warning: -undefined error is deprecated
[2434/2547] Linking target tests/unit/test-iov
ld: warning: -undefined error is deprecated
[2435/2547] Linking target tests/unit/test-base64
ld: warning: -undefined error is deprecated
[2437/2547] Linking target tests/unit/test-bufferiszero
ld: warning: -undefined error is deprecated
[2442/2547] Linking target tests/unit/test-image-locking
ld: warning: -undefined error is deprecated
[2448/2547] Linking target tests/unit/test-replication
ld: warning: -undefined error is deprecated
[2449/2547] Linking target tests/unit/test-yank
ld: warning: -undefined error is deprecated
[2450/2547] Linking target tests/qtest/cmsdk-apb-dualtimer-test
ld: warning: -undefined error is deprecated
[2452/2547] Linking target tests/qtest/cmsdk-apb-timer-test
ld: warning: -undefined error is deprecated
[2453/2547] Linking target tests/unit/test-qdev-global-props
ld: warning: -undefined error is deprecated
[2454/2547] Linking target tests/qtest/sse-timer-test
ld: warning: -undefined error is deprecated
[2455/2547] Linking target tests/unit/test-util-sockets
ld: warning: -undefined error is deprecated
[2457/2547] Linking target tests/unit/test-qmp-cmds
ld: warning: -undefined error is deprecated
[2462/2547] Linking target tests/qtest/cmsdk-apb-watchdog-test
ld: warning: -undefined error is deprecated
[2464/2547] Linking target tests/qtest/pflash-cfi02-test
ld: warning: -undefined error is deprecated
[2465/2547] Linking target tests/qtest/aspeed_smc-test
ld: warning: -undefined error is deprecated
[2467/2547] Linking target tests/qtest/aspeed_hace-test
ld: warning: -undefined error is deprecated
[2469/2547] Linking target tests/unit/test-vmstate
ld: warning: -undefined error is deprecated
[2472/2547] Linking target tests/qtest/npcm7xx_adc-test
ld: warning: -undefined error is deprecated
[2473/2547] Linking target tests/unit/test-char
ld: warning: -undefined error is deprecated
[2474/2547] Linking target tests/qtest/npcm7xx_gpio-test
ld: warning: -undefined error is deprecated
[2478/2547] Linking target tests/qtest/npcm7xx_pwm-test
ld: warning: -undefined error is deprecated
[2479/2547] Linking target tests/qtest/npcm7xx_rng-test
ld: warning: -undefined error is deprecated
[2483/2547] Linking target tests/qtest/boot-serial-test
ld: warning: -undefined error is deprecated
[2484/2547] Linking target tests/qtest/npcm7xx_watchdog_timer-test
ld: warning: -undefined error is deprecated
[2485/2547] Linking target tests/qtest/npcm7xx_smbus-test
ld: warning: -undefined error is deprecated
[2486/2547] Linking target tests/qtest/hexloader-test
ld: warning: -undefined error is deprecated
[2490/2547] Linking target tests/qtest/fuzz-megasas-test
ld: warning: -undefined error is deprecated
[2492/2547] Linking target tests/qtest/npcm7xx_timer-test
ld: warning: -undefined error is deprecated
[2495/2547] Linking target tests/qtest/fuzz-virtio-scsi-test
ld: warning: -undefined error is deprecated
[2496/2547] Linking target tests/qtest/fuzz-lsi53c895a-test
ld: warning: -undefined error is deprecated
[2498/2547] Linking target tests/qtest/fuzz-sdcard-test
ld: warning: -undefined error is deprecated
[2502/2547] Linking target tests/qtest/microbit-test
ld: warning: -undefined error is deprecated
[2503/2547] Linking target tests/qtest/cdrom-test
ld: warning: -undefined error is deprecated
[2504/2547] Linking target tests/qtest/arm-cpu-features
ld: warning: -undefined error is deprecated
[2505/2547] Linking target tests/qtest/machine-none-test
ld: warning: -undefined error is deprecated
[2510/2547] Linking target tests/qtest/device-introspect-test
ld: warning: -undefined error is deprecated
[2511/2547] Linking target tests/qtest/test-arm-mptimer
ld: warning: -undefined error is deprecated
[2515/2547] Linking target tests/qtest/qmp-test
ld: warning: -undefined error is deprecated
[2516/2547] Linking target tests/qtest/qmp-cmd-test
ld: warning: -undefined error is deprecated
[2517/2547] Linking target tests/qtest/qom-test
ld: warning: -undefined error is deprecated
[2518/2547] Linking target tests/qtest/test-hmp
ld: warning: -undefined error is deprecated
[2547/2547] Linking target tests/qtest/qos-test
ld: warning: -undefined error is deprecated
I tried to reduce the backed simulator but still cannot compile picsimlab. provide some files as reference.
make CXX="ccache g++ <+option for gnu++11 or c++14>" -j16 LIBPATH="../build_all/" FILE=Makefile.macos.static 2>&1 | tee log-file-name
make-stdout-stderr-output.txt
, -std=gnu++11
make-stdcpp14-stdout-stderr-output.txt
-std=c++14
Makefile.Common.txt
Makefile.macos.static.txt
make-stdout-stderr-output.txt
make-stdcpp14-stdout-stderr-output.txt
$ pwd
picsimlab/src
$ make CXX="ccache g++ -std=gnu++11" -j16 LIBPATH="../build_all/" FILE=Makefile.macos.static 2>&1 | tee make-stdout-stderr-output.txt
$ make CXX="ccache g++ -std=c++14" -j16 LIBPATH="../build_all/" FILE=Makefile.macos.static 2>&1 | tee make-stdcpp14-stdout-stderr-output.txt
I almost pass and only one error now.
override CXXFLAGS+= -D_LIBCPP_HAS_NO_OFF_T_FUNCTIONS
override CXXFLAGS+= -D_DARWIN_C_SOURCE
lib/rcontrol.cc:132:13: error: value of type '__bind<int &, sockaddr *, unsigned long>' is not contextually convertible to 'bool'
if (bind(listenfd, (sockaddr*)&serv, sizeof(serv))) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Try to replace:
if (bind(listenfd, (sockaddr*)&serv, sizeof(serv))) {
with:
if (bind(listenfd, (sockaddr*)&serv, sizeof(serv)) != 0) {
I update two bind to (::bind(listenfd, (sockaddr*)&serv, sizeof(serv)))
and fixed.
I got SEGFAULT :) Maybe need other steps
PICSimLab: Version "0.9.1 231112 DARWIN native"
PICSimLab: Command Line: ./picsimlab --help
PICSimLab Caught SIGSEGV: Segmentation Fault
looks like works now after add OBJS+= boards/bridge_gpsim.o
PICSimLab: Version "0.9.1 231112 DARWIN native"
PICSimLab: Command Line: ./picsimlab
PICSimLab: Error closing PICSimLab in last time!
Using default mode.
Erro log file: /Users/user/Library/Application Support/picsimlab/picsimlab_error1.txt
If the problem persists, please consider opening an issue on github..PICSimLab: Load Config from file "/Users/user/Library/Application Support/picsimlab/picsimlab_1.ini"
PICSimLab: Window position x=384 y=411
PICSimLab: Window scale 1.03
PICSimLab: Using board "Arduino Uno"
PICSimLab: Instance number 1
PICSimLab: Opening "/Users/laris/Library/Application Support/picsimlab/mdump_Arduino_Uno_atmega328p_1.hex"
PICSimLab: Error on Port Open /dev/tnt2!
/dev/tnt2: No such file or directory
12:42:49 AM: Debug: 2 threads were not terminated by the application.
PICSimLab: Debug On=1 Type=GDB Port=1235
avr_gdb_init listening on port 1235
PICSimLab: Remote Control Port 5001
Spare parts: parts[00] (Step Motor) created
Spare parts: parts[01] (Text Box) created
Spare parts: parts[02] (IO Virtual Term) created
https://github.com/laris/picsimlab
forked version, only provide simavr backend and AVR boards
OBJS+= boards/bsim_simavr.o # simavr backend OBJS+= boards/board_Arduino_Mega.o OBJS+= boards/board_Arduino_Nano.o OBJS+= boards/board_Arduino_Uno.o OBJS+= boards/board_Franzininho_DIY.o
I was trying to compile PICSimLab on my M1 MacBook Pro running macOS Monterey 12.4. After working around several hurdles, I eventually got things compiled (
picsim
(had to add-framework OpenAL
toSHLIBS
cuz./configure
didn't detect Apple's OpenAL),lxrad
,tty0tty
(butpts
instead ofmodule
),simavr
,uCsim
andqemu-stm32
) except the PICSimLab itself.Everything in
tools
likePinViewer
,espmsim
andsrtank
were successfully compiled, exceptsrc
. I got this error when runningmake -j$(nproc)
:But if I change
CXX
in Makefiles to GCC-12, everything was compiled but I gottools/srtank
warnings andsrc
errors linking to GPSim:Output of
g++ -v
(alias toclang++
in macOS):Output of
g++-12 -v
:I used the GPSim package provided by Homebrew, which was compiled with
--disable-dependency-tracking
,--disable-gui
and--disable-shared
but I applied a patch from a Debian mantainer to avoidgpsim/breakpoints.h:25:10: fatal error: ../config.h: No such file or directory
.I'm myself not a C/C++ dev but familiar with building packages in Linux so I just tried running commands in
bscripts/build_all_and_install.sh
by hand and tweaking them to suit macOS.Once PICSimLab is built, I'm gonna make a
.app
wrapper for making PICSimLab a proper macOS application that can be accessed through Launchpad.Any help would be very appreciated. Thank you.