Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make fail: ld.lld: error: duplicate symbol: __packed #467

Open
yumdeer opened this issue Jan 3, 2025 · 1 comment
Open

make fail: ld.lld: error: duplicate symbol: __packed #467

yumdeer opened this issue Jan 3, 2025 · 1 comment

Comments

@yumdeer
Copy link

yumdeer commented Jan 3, 2025

root@dggphis65409:/home/stress-ng-0.18.07# make clean
objdump: can't disassemble for architecture UNKNOWN!

root@dggphis65409:/home/stress-ng-0.18.07# make VERBOSE=1 V=1 -j32
objdump: can't disassemble for architecture UNKNOWN!

Generating config..
make CC="clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot" CXX="clang++ --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot" STATIC= -f Makefile.config
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
make[1]: Entering directory '/home/stress-ng-0.18.07'
MK git-commit-id.h
using -lacl ... no
using -ldl ... no
using -laio ... no
using -lGLESv2 ... no
using -lgbm ... no
using -lEGL ... no
using -lapparmor ... no
using -lbsd ... no
using -lIPSec_MB ... no
using -lmpfr ... no
using -lgmp ... no
using -lJudy ... no
using -lkmod ... no
using -lmd ... no
using -ljpeg ... no
using -lcrypt ... yes
using asm/cachectl.h ... no
using -lxxhash ... no
using asm/ldt.h ... no
using acl/libacl.h ... no
using aio.h ... yes
using asm/mtrr.h ... no
using -lsctp ... no
using -lz ... no
using asm/prctl.h ... no
using -lpthread ... yes
using -lpthread spinlock ... yes
using attr/xattr.h ... no
using bsd/string.h ... no
using bsd/sys/tree.h ... no
using bsd/stdlib.h ... no
using bsd/unistd.h ... no
using -lrt ... yes
using bsd/wchar.h ... no
using EGL/egl.h EGL/eglext.h ... no
using complex.h ... yes
using crypt.h ... yes
using execinfo.h ... no
using features.h ... yes
using EGL/egl.h ... no
using float.h ... yes
using GLES2/gl2.h ... no
using gmp.h ... no
using gbm.h ... no
using fenv.h ... yes
using grp.h ... yes
using intel-ipsec-mb.h ... no
using ifaddrs.h ... yes
using Judy.h ... no
using jpeglib.h ... no
using keyutils.h ... no
using libaio.h ... no
using libkmod.h ... no
using libgen.h ... yes
using linux/audit.h ... yes
using link.h ... yes
using linux/android/binder.h ... yes
using linux/android/binderfs.h ... yes
using linux/blkzoned.h ... yes
using linux/auto_dev-ioctl.h ... yes
using linux/btrfs.h ... yes
using linux/cn_proc.h ... yes
using linux/cdrom.h ... yes
using linux/connector.h ... yes
using linux/fb.h ... yes
using linux/dm-ioctl.h ... yes
using linux/fiemap.h ... yes
using linux/fd.h ... yes
using linux/filter.h ... yes
using linux/fs.h ... yes
using linux/fsverity.h ... yes
using linux/genetlink.h ... yes
using linux/futex.h ... yes
using linux/hdreg.h ... yes
using linux/hiddev.h ... yes
using linux/hidraw.h ... yes
using linux/if_alg.h ... yes
using linux/hpet.h ... yes
using linux/if_packet.h ... yes
using linux/if_tun.h ... yes
using linux/kd.h ... yes
using linux/input.h ... yes
using linux/io_uring.h ... yes
using linux/landlock.h ... no
using linux/lsm.h ... no
using linux/kvm.h ... yes
using linux/loop.h ... yes
using linux/lirc.h ... yes
using linux/magic.h ... yes
using linux/membarrier.h ... yes
using linux/memfd.h ... yes
using linux/mempolicy.h ... yes
using linux/media.h ... yes
using linux/module.h ... yes
using linux/openat2.h ... yes
using linux/netlink.h ... yes
using linux/perf_event.h ... yes
using linux/pci.h ... yes
using linux/posix_types.h ... yes
using linux/ptp_clock.h ... yes
using linux/random.h ... yes
using linux/ppdev.h ... yes
using linux/rseq.h ... yes
using linux/sched.h ... yes
using linux/rtnetlink.h ... yes
using linux/rtc.h ... yes
using linux/serial.h ... yes
using linux/seccomp.h ... yes
using linux/socket.h ... yes
using linux/sockios.h ... yes
using linux/udp.h ... yes
using linux/taskstats.h ... yes
using linux/sysctl.h ... yes
using linux/uinput.h ... yes
using linux/usb/cdc-wdm.h ... yes
using linux/usbdevice_fs.h ... yes
using linux/userfaultfd.h ... yes
using linux/unix_diag.h ... yes
using linux/version.h ... yes
using linux/vt.h ... yes
using linux/videodev2.h ... yes
using linux/watchdog.h ... yes
using locale.h ... yes
using mach/machine.h ... no
using mach/vm_statistics.h ... no
using mach/mach.h ... no
using mntent.h ... yes
using malloc.h ... yes
using linux/sockdiag.h ... yes
using mpfr.h ... no
using mqueue.h ... yes
using netinet/ip.h ... yes
using net/if.h ... yes
using netinet/ip_icmp.h ... yes
using netinet/sctp.h ... no
using netinet/udp.h ... yes
using pthread_np.h ... no
using netinet/tcp.h ... yes
using pthread.h ... yes
using poll.h ... yes
using scsi/scsi_ioctl.h ... yes
using scsi/sg.h ... yes
using scsi/scsi.h ... yes
using immintrin.h ... no
using search.h ... yes
using sound/asound.h ... no
using semaphore.h ... yes
using spawn.h ... yes
using sys/acl.h ... no
using strings.h ... yes
using sys/apparmor.h ... no
using sys/auxv.h ... yes
using sys/syscall.h ... yes
using sys/eventfd.h ... yes
using sys/fanotify.h ... yes
using sys/fsuid.h ... yes
using sys/epoll.h ... yes
using sys/inotify.h ... yes
using sys/io.h ... yes
using sys/ipc.h ... yes
using sys/loadavg.h ... no
using sys/mkdev.h ... no
using syslog.h ... yes
using sys/msg.h ... yes
using sys/personality.h ... yes
using sys/mount.h ... yes
using sys/param.h ... yes
using sys/pidfd.h ... no
using sys/prctl.h ... yes
using sys/platform/ppc.h ... no
using sys/capability.h ... yes
using sys/procctl.h ... no
using sys/queue.h ... no
using sys/random.h ... yes
using sys/rseq.h ... no
using sys/quota.h ... yes
using sys/select.h ... yes
using sys/shm.h ... yes
using sys/sendfile.h ... yes
using sys/statfs.h ... yes
using sys/sysctl.h ... no
using sys/statvfs.h ... yes
using sys/signalfd.h ... yes
using sys/swap.h ... yes
using sys/tree.h ... no
using sys/sysmacros.h ... yes
using sys/sysinfo.h ... yes
using sys/timerfd.h ... yes
using sys/ucred.h ... no
using sys/timex.h ... yes
using sys/un.h ... yes
using sys/uio.h ... yes
using sys/vfs.h ... yes
using sys/utsname.h ... yes
using sys/vmmeter.h ... no
using sys/xattr.h ... yes
using termio.h ... no
using termios.h ... yes
using threads.h ... yes
using utime.h ... yes
using ustat.h ... no
using uvm/uvm_extern.h ... no
using ucontext.h ... yes
using xxhash.h ... no
using wchar.h ... yes
using xmmintrin.h ... no
using ALPHA halt instruction ... no
using ALPHA draina instruction ... no
using hppa diag instruction ... no
using loong64 dbar instruction ... no
using loong64 cpucfg instruction ... no
using hppa rfi instruction ... no
using loong64 rdtime instruction ... no
using loong64 tlbrd instruction ... no
using loong64 tlbsrch instruction ... no
using M68K eori.w on sr instruction ... no
using 64 byte alignment attribute ... yes
using 128 byte alignment attribute ... yes
using 64K byte alignment attribute ... yes
using ARM tlbi instruction ... yes
using ARM yield instruction ... yes
using MIPS wait instruction ... no
using ppc64 darn instruction ... no
using ppc64 dcbst instruction ... no
using memory barrier ... yes
using ppc64 dcbtst instruction ... no
using ppc64 dcbt instruction ... no
using ppc64 icbi instruction ... no
using generic nop instruction ... yes
using ppc64 tlbie instruction ... no
using RISC-V fence.i instruction ... no
using RISC-V fence instruction ... no
using asm("") ... yes
using ppc64 msync instruction ... no
using RISC-V sfence.vma instruction ... no
using SH4 rte instruction ... no
using RISC-V cbo.zero instruction ... no
using s390 ptlb instruction ... no
using SH4 sleep instruction ... no
using SPARC rdpr instruction ... no
using SPARC membar instruction ... no
using SPARC tick instruction ... no
using x86 clflush instruction ... no
using x86 cldemote instruction ... no
using x86 clflushopt instruction ... no
using x86 hlt instruction ... no
using x86 clts instruction ... no
using x86 invd instruction ... no
using x86 lfence instruction ... no
using x86 clwb instruction ... no
using x86 invpg instruction ... no
using x86 lldt instruction ... no
using x86 lgdt instruction ... no
using x86 lmsw instruction ... no
using x86 mov to cr0 instruction ... no
using x86 mfence instruction ... no
using x86 mov to dr0 instruction ... no
using x86 pause instruction ... no
using x86 prefetchtnta instruction ... no
using x86 prefetcht2 instruction ... no
using x86 rdmsr instruction ... no
using x86intrin.h ... no
using x86 prefetcht0 instruction ... no
using x86 prefetcht1 instruction ... no
using x86 rdpmc instruction ... no
using x86 rdtsc instruction ... no
using x86 rdrand instruction ... no
using x86 rdseed instruction ... no
using x86 rdtscp instruction ... no
using x86 rep stosb instruction ... no
using x86 rep stosq instruction ... no
using x86 rep stosd instruction ... no
using x86 sfence instruction ... no
using x86 rep stosw instruction ... no
using x86 wrinvd instruction ... no
using x86 serialize instruction ... no
using x86 tpause instruction ... no
using x86 wrmsr instruction ... no
using __attribute__((packed)) ... no
using __attribute__((always_inline)) ... yes
using __attribute__((fast_math)) ... yes
using __attribute__((nonnull)) ... yes
using __attribute__((noinline)) ... yes
using __attribute__((noreturn)) ... yes
using __attribute__((returns_nonnull)) ... yes
using __attribute__((pure)) ... yes
using __attribute__((warn_unused_result)) ... yes
using label as value feature ... yes
using __attribute__((weak)) ... yes
using pragma push/pop ... yes
using _mm256_dpwssd_epi32 intrinsic ... no
using _mm256_loadu_si256 intrinsic ... no
using pragma gcc no-hard-dfp ... no
using _mm256_storeu_si256 intrinsic ... no
using _mm512_add_epi8 intrinsic ... no
using _mm512_dpwssd_epi32 intrinsic ... no
using target_clones arch=alderlake attribute (x86) ... no
using _mm512_loadu_si512 intrinsic ... no
using pragma inside functions ... yes
using target_clones attribute ... no
using target_clones arch=arrowlake attribute (x86) ... no
using target_clones avx attribute (x86) ... no
using _mm_dpbusd_epi32 intrinsic ... no
using _mm256_add_epi8 intrinsic ... no
using _mm512_storeu_si512 intrinsic ... no
using _mm256_dpbusd_epi32 intrinsic ... no
using target_clones avx2 attribute (x86) ... no
using __restrict keyword ... yes
using _mm512_dpbusd_epi32 intrinsic ... no
using _mm_storeu_si128 intrinsic ... no
using target_clones avxvnni attribute (x86) ... no
using _mm_loadu_si128 intrinsic ... no
using target_clones arch=graniterapids attribute (x86) ... no
using target_clones arch=cooperlake attribute (x86) ... no
using target_clones mmx attribute (x86) ... no
using _mm_add_epi8 intrinsic ... no
using target_clones arch=pantherlake attribute (x86) ... no
using target_clones arch=lunarlake attribute (x86) ... no
using target_clones cpu=power attribute (power9) ... no
using target_clones cpu=power attribute (power10) ... no
using target_clones cpu=power attribute (power11) ... no
using target_clones arch=rocketlake attribute (x86) ... no
using target_clones arch=sapphirerapids attribute (x86) ... no
using target_clones sse2 attribute (x86) ... no
using target_clones sse attribute (x86) ... no
using target_clones arch=skylake-avx512 attribute (x86) ... no
using target_clones sse3 attribute (x86) ... no
using target_clones ssse3 attribute (x86) ... no
using target_clones sse4_1 attribute (x86) ... no
using target_clones sse4_2 attribute (x86) ... no
using target_clones arch=tigerlake attribute (x86) ... no
using _mm_dpwssd_epi32 intrinsic ... no
using __bf16 ... no
using variable length array function args ... yes
using struct cdrom_mcn ... yes
using struct cdrom_subchnl ... yes
using struct cdrom_blk ... yes
using struct cdrom_read_audio ... yes
using struct cdrom_ti ... yes
using _Decimal128 ... no
using struct cdrom_tochdr ... yes
using struct cdrom_tocentry ... yes
using daddr_t ... no
using struct cdrom_msf ... yes
using _Decimal32 ... no
using _Decimal64 ... no
using struct cdrom_volctrl ... yes
using cpu_set_t ... yes
using complex ... yes
using struct consolefontdesc ... yes
using struct dirent d_type ... yes
using struct dm_ioctl ... yes
using vector math ... yes
using dvd_authinfo ... yes
using __float128 ... no
using _Float32 ... no
using dvd_struct ... yes
using _Float64 ... no
using __float80 ... no
using struct floppy_drive_struct ... yes
using struct fsuuid2 ... no
using struct fs_sysfs_path ... no
using __fp16 ... yes
using struct floppy_fdc_state ... yes
using _Float128 ... no
using __ibm128 ... no
using _Float32x ... no
using _Float64x ... no
using struct floppy_write_errors ... yes
using _Float80 ... no
using struct fsxattr ... yes
using struct fsverity_enable_arg ... yes
using struct fsverity_digest ... yes
using struct floppy_struct ... yes
using struct ifconf ... yes
using struct iphdr and icmphdr ... yes
using struct ifreq ... yes
using _Float128x ... no
using _Float80x ... no
using __itimer_which_t ... no
using _Float16 ... yes
using ino64_t ... yes
using struct landlock_ruleset_attr ... no
using struct iphdr ... yes
using struct kbentry ... yes
using struct kbdiacrs ... yes
using int128_t ... yes
using landlock_rule_type ... no
using __kernel_long_t ... yes
using struct kbsentry ... yes
using __kernel_ulong_t ... yes
using struct kbkeycode ... yes
using key_t ... yes
using struct mnt_id_req ... no
using struct mtrr_gentry ... no
using loff_t ... no
using struct mtrr_sentry ... no
using _Float16x ... no
using __pid_type ... no
using struct open_how ... no
using __priority_which_t ... no
using struct media_device_info ... yes
using struct msginfo ... yes
using mode_t ... yes
using off64_t ... yes
using mtx_t ... yes
using ptrace_request ... no
using __rlimit_resource_t ... no
using struct rtc_param ... no
using pthread_mutexattr_t ... yes
using off_t ... yes
using pthread_mutex_t ... yes
using struct sctp_association ... no
using __rusage_who_t ... no
using struct rusage.ru_minflt ... yes
using struct sctp_assocparams ... no
using struct sctp_assoc_value ... no
using struct rusage.ru_maxrss ... yes
using struct rusage.ru_nvcsw ... yes
using struct sctp_assoc_stats ... no
using struct sctp_getaddrs ... no
using struct sctp_paddrinfo ... no
using struct sctp_event_subscribe ... no
using struct sctp_default_prinfo ... no
using struct sctp_initmsg ... no
using struct sctp_paddrparams ... no
using struct sctp_prim ... no
using struct sctp_rtoinfo ... no
using struct sctp_probeinterval ... no
using struct sctp_sched_type ... no
using struct sctp_setadaption ... no
using struct sctp_stream_value ... no
using struct sctp_status ... no
using struct snd_ctl_card_info ... no
using struct snd_ctl_tlv ... no
using struct serial_icounter_struct ... yes
using struct shmid_ds ... yes
using struct seccomp_notif_sizes ... yes
using struct serial_struct ... yes
using struct shminfo ... yes
using struct termios ... yes
using struct sockaddr_un ... yes
using struct user_desc ... no
using __v2di ... no
using struct usbdevfs_getdriver ... yes
using struct utimbuf ... yes
using struct timex ... yes
using struct unimapdesc ... yes
using struct v4l2_audioout ... yes
using struct tpacket_req3 ... yes
using struct v4l2_framebuffer ... yes
using struct v4l2_enc_idx ... yes
using struct v4l2_capability ... yes
using struct v4l2_dv_timings ... yes
using struct v4l2_jpegcompression ... yes
using v4l2_std_id ... yes
using struct v4l2_audio ... yes
using struct vt_mode ... yes
using struct vt_consize ... yes
using struct vt_sizes ... yes
using __rseq_offset ... no
using struct vt_stat ... yes
using struct winsize ... yes
using adjtime ... yes
using aio_cancel ... no
using accept4 ... yes
using aio_write ... no
using arch_prctl ... no
using aio_read ... no
using aio_fsync ... no
using adjtimex ... yes
using atomics with -latomic ... no
using aligned_alloc ... yes
using __atomic_add_fetch ... yes
using arc4random ... no
using __atomic_and_fetch ... yes
using __atomic_clear ... yes
using __atomic_fetch_add_2 ... no
using __atomic_compare_exchange ... yes
using __atomic_fetch_add ... yes
using __atomic_fetch_add_8 ... no
using __atomic_fetch_and ... yes
using __atomic_fetch_add_4 ... no
using __atomic_fetch_or ... yes
using __atomic_load_double ... yes
using __atomic_fetch_sub ... yes
using __atomic_load ... yes
using __atomic_nand_fetch ... yes
using __atomic_fetch_xor ... yes
using __atomic_fetch_nand ... yes
using __atomic_or_fetch ... yes
using __atomic_store ... yes
using backtrace ... no
using strlcat ... no
using strlcpy ... no
using __atomic_test_and_set ... yes
using __atomic_sub_fetch ... yes
using __atomic_store_double ... yes
using __builtin_cabs ... no
using __atomic_xor_fetch ... yes
using bsearch ... yes
using __builtin_cabsf ... no
using brk ... yes
using __builtin_cabsl ... no
using __builtin_bswap32 ... yes
using __builtin_assume_aligned ... yes
using __builtin_bitreverse ... yes
using __builtin_cbrt ... no
using __builtin_cbrtf ... no
using __builtin_cbrtl ... no
using __builtin_ccosf ... no
using __builtin_ccos ... no
using __builtin_ccosl ... no
using __builtin_cexpf ... no
using __builtin_cexpl ... no
using __builtin_cexp ... no
using __builtin_clog ... no
using __builtin_clogf ... no
using __builtin_clogl ... no
using __builtin_cos ... no
using __builtin___clear_cache ... yes
using __builtin_cosf ... no
using __builtin_coshl ... no
using __builtin_clzll ... yes
using __builtin_coshf ... no
using __builtin_cpow ... no
using __builtin_clzl ... yes
using __builtin_cpowf ... no
using __builtin_cpu_is(power11) ... no
using __builtin_cpu_is(power9) ... no
using __builtin_clz ... yes
using __builtin_cosl ... no
using __builtin_cpu_is(power10) ... no
using __builtin_cpowl ... no
using __builtin_constant_p ... yes
using __builtin_csin ... no
using __builtin_csinf ... no
using __builtin_csinl ... no
using __builtin_csqrt ... no
using __builtin_csqrtl ... no
using __builtin_exp ... no
using __builtin_csqrtf ... no
using __builtin_exp10 ... no
using __builtin_exp2f ... no
using __builtin_exp10l ... no
using __builtin_exp10f ... no
using __builtin_exp2 ... no
using __builtin_exp2l ... no
using __builtin_expf ... no
using __builtin_expl ... no
using __builtin_ctz ... yes
using __builtin_fma ... no
using __builtin_hypotf ... no
using __builtin_fmaf ... no
using __builtin_expect ... yes
using __builtin_hypotl ... no
using __builtin_hypot ... no
using __builtin_fabs ... yes
using __builtin_fabsf ... yes
using __builtin_ia32_movntdq ... no
using __builtin_fabsl ... yes
using __builtin_ia32_movnti ... no
using __builtin_ia32_movnti64 ... no
using __builtin_j0 ... no
using __builtin_j1 ... no
using __builtin_jn ... no
using __builtin_j1f ... no
using __builtin_jnf ... no
using __builtin_lgammal ... no
using __builtin_jnl ... no
using __builtin_log10 ... no
using __builtin_j0l ... no
using __builtin_j0f ... no
using __builtin_j1l ... no
using __builtin_log10f ... no
using __builtin_log2 ... no
using __builtin_log ... no
using __builtin_log2l ... no
using __builtin_log2f ... no
using __builtin_log10l ... no
using __builtin_logbf ... no
using __builtin_logb ... no
using __builtin_llabs ... yes
using __builtin_logf ... no
using __builtin_logbl ... no
using __builtin_logl ... no
using __builtin_memcpy ... yes
using __builtin_memcmp ... yes
using __builtin_memset ... yes
using __builtin_powl ... no
using __builtin_nontemporal_load ... yes
using __builtin_pow ... no
using __builtin_powf ... no
using __builtin_parity ... yes
using __builtin_memmove ... yes
using __builtin_nontemporal_store ... yes
using __builtin_popcountl ... yes
using __builtin_popcountll ... yes
using __builtin_popcount ... yes
using __builtin_prefetch ... yes
using __builtin_rint ... yes
using __builtin_rotateleft16 ... yes
using __builtin_roundl ... no
using __builtin_rotateleft32 ... yes
using __builtin_rintl ... yes
using __builtin_ia32_sfence ... no
using __builtin_rotateleft64 ... yes
using __builtin_rotateright16 ... yes
using __builtin_shuffle ... no
using __builtin_sin ... no
using __builtin_rotateleft8 ... yes
using __builtin_sincosf ... no
using __builtin_sincosl ... no
using __builtin_rotateright32 ... yes
using __builtin_rotateright64 ... yes
using __builtin_sinf ... no
using __builtin_sinh ... no
using __builtin_sinhf ... no
using __builtin_rotateright8 ... yes
using __builtin_sincos ... no
using __builtin_sqrt ... no
using __builtin_sinhl ... no
using __builtin_sqrtf ... no
using __builtin_sinl ... no
using __builtin_sqrtl ... no
using __builtin_tan ... no
using __builtin_supports ... no
using __builtin_tanl ... no
using __builtin_tanf ... no
using __builtin_tanh ... no
using __builtin_tanhf ... no
using __builtin_tanhl ... no
using __builtin_y0 ... no
using __builtin_y1 ... no
using __builtin_yn ... no
using __builtin_y1f ... no
using __builtin_y0f ... no
using __builtin_ynf ... no
using __builtin_y0l ... no
using cacheflush ... no
using __builtin_y1l ... no
using __builtin_ynl ... no
using __builtin_thread_pointer ... yes
using cabsl ... yes
using cbrtf ... yes
using cbrt ... yes
using cexp ... yes
using cfgetispeed ... yes
using cbrtl ... yes
using cexpl ... yes
using ccosf ... yes
using cexp ... yes
using cimag ... yes
using ccosl ... yes
using ccosf ... yes
using chroot ... yes
using cimagf ... yes
using cimagl ... yes
using cfgetospeed ... yes
using clearenv ... yes
using clock_adjtime ... yes
using clock_gettime ... yes
using clock_settime ... yes
using clock_nanosleep ... yes
using clogf ... yes
using clock_getres ... yes
using clone ... yes
using clog ... yes
using copy_file_range ... yes
using clogl ... yes
using cosh ... yes
using coshf ... yes
using coshl ... yes
using cpow ... yes
using cosl ... yes
using crypt_r ... no
using cpowf ... yes
using creal ... yes
using creall ... yes
using eigen C++ functions ... no, not using gcc
using cpowl ... yes
using crealf ... yes
using csin ... yes
using csinf ... yes
using csinl ... yes
using csqrtl ... yes
using dup3 ... no
using csqrtf ... yes
using delete_module ... yes
using drand48 ... yes
using csqrt ... yes
using endpwent ... yes
using endmntent ... yes
using epoll_create ... yes
using epoll_create1 ... yes
using __executable_start ... yes
using exp ... yes
using eventfd ... yes
using exp10l ... yes
using execveat ... yes
using exp10f ... yes
using exp10 ... yes
using exp2 ... yes
using exp2f ... yes
using exp2l ... yes
using expf ... yes
using fallocate ... yes
using expl ... yes
using faccessat2 ... no
using faccessat ... yes
using fanotify ... yes
using fchmodat ... yes
using fchmodat2 ... no
using fchownat ... yes
using fgetxattr ... yes
using finit_module ... no
using fdatasync ... yes
using flock ... yes
using flistxattr ... yes
using fma ... yes
using fmaf ... yes
using fremovexattr ... yes
using fsync ... yes
using fstat ... yes
using fstatat ... yes
using getexecname ... no
using getauxval ... yes
using fsetxattr ... yes
using futimens ... yes
using getdtablesize ... yes
using futimesat ... yes
using getentropy ... yes
using futimes ... yes
using gethostname ... yes
using getcpu ... no
using getmntinfo ... no
using getloadavg ... yes
using gethostid ... yes
using getdomainname ... yes
using getlogin ... yes
using getitimer ... yes
using getmntent ... yes
using getpagesize ... yes
using getpgrp ... no
using getpriority ... yes
using getpgid ... yes
using getpwent ... yes
using getrandom ... yes
using getresgid ... yes
using gettid ... yes
using getresuid ... yes
using getsid ... yes
using getrusage ... yes
using init_mb_mgr_avx ... no
using index ... no
using gettimeofday ... yes
using getxattr ... yes
using hypot ... yes
using hypotl ... yes
using hsearch ... yes
using hypotf ... yes
using inotify1 ... yes
using inotify ... yes
using iopl ... no
using ioport ... no
using j0 ... yes
using j1 ... yes
using j0l ... no
using j0f ... yes
using jn ... yes
using j1f ... yes
using j1l ... no
using jnl ... no
using jnf ... yes
using intrinsic __rolb ... no
using lgammal ... yes
using intrinsic __rold ... no
using lgetxattr ... yes
using intrinsic __rorb ... no
using intrinsic __rolw ... no
using intrinsic __rolq ... no
using linkat ... yes
using listxattr ... yes
using intrinsic __rorq ... no
using intrinsic __rord ... no
using intrinsic __rorw ... no
using llistxattr ... yes
using localtime_r ... yes
using lockf ... yes
using log10 ... yes
using log ... yes
using log10l ... yes
using log2f ... yes
using logb ... yes
using log2 ... yes
using logbf ... yes
using log10f ... yes
using log2l ... yes
using logbl ... yes
using lookup_dcookie ... yes
using logf ... yes
using logl ... yes
using lsm_get_self_attr ... no
using lsm_list_modules ... no
using lrand48 ... yes
using mallopt ... no
using lremovexattr ... yes
using lsetxattr ... yes
using lseek64 ... yes
using lstat ... yes
using malloc_trim ... no
using lsearch ... yes
using memalign ... yes
using malloc_usable_size ... yes
using madvise ... yes
using membarrier ... yes
using mincore ... yes
using memfd_create ... yes
using mknodat ... yes
using mkdirat ... yes
using mlock ... yes
using _mm_stream_si64 ... no
using _mm_stream_si128 ... no
using _mm_stream_si32 ... no
using mlock2 ... yes
using modify_ldt ... no
using mlockall ... yes
using POSIX message queues ... no
using SYSV message queues ... yes
using mprotect ... yes
using mseal ... no
using mremap ... yes
using mquery ... no
using mtx_init ... yes
using mtx_destroy ... yes
using munlock ... yes
using msync ... yes
using nanosleep ... yes
using munlockall ... yes
using name_to_handle_at ... yes
using openat ... yes
using nice ... yes
using open_by_handle_at ... yes
using openat2 ... yes
using open_memstream ... yes
using pidfd_open ... no
using pathconf ... yes
using personality ... yes
using pidfd_getfd ... no
using pidfd_send_signal ... yes
using pipe2 ... yes
using pkey_alloc ... no
using pkey_get ... no
using pkey_free ... no
using pkey_mprotect ... no
using posix_fallocate ... yes
using poll ... yes
using pkey_set ... no
using posix_fadvise ... yes
using posix_madvise ... yes
using posix_memalign ... yes
using posix_openpt ... yes
using __ppc_get_timebase ... no
using powl ... yes
using posix_spawn ... yes
using powf ... yes
using pow ... yes
using preadv ... yes
using prctl ... yes
using ppoll ... yes
using pread ... yes
using preadv2 ... no
using prlimit ... yes
using process_vm_writev ... yes
using process_vm_readv ... yes
using program_invocation_name ... yes
using pthread_attr_setstack ... yes
using pthread_barrier ... yes
using pselect ... yes
using pthread_mutexattr_setprotocol ... yes
using pthread_mutexattr_setrobust ... yes
using pthread_mutexattr_setprioceiling ... no
using pthread_mutexattr_destroy ... yes
using pthread_mutexattr_init ... yes
using pthread_setaffinity_np ... yes
using pthread_mutex_destroy ... yes
using PTHREAD_PRIO_INHERIT ... yes
using pthread_mutex_init ... yes
using PTHREAD_PRIO_NONE ... yes
using ptsname ... yes
using PTHREAD_PRIO_PROTECT ... yes
using pthread_setschedparam ... yes
using pthread_sigqueue ... no
using pwrite ... yes
using ptrace ... yes
using pwritev ... yes
using rfork ... no
using pwritev2 ... no
using rindex ... no
using quotactl_fd ... no
using recvmmsg ... yes
using readlinkat ... yes
using renameat ... yes
using removexattr ... yes
using rintl ... yes
using renameat2 ... no
using remap_file_pages ... yes
using sched_getaffinity ... yes
using sbrk ... yes
using sched_get_priority_max ... yes
using sched_getcpu ... yes
using sched_rr_get_interval ... yes
using sched_setscheduler ... yes
using sched_setaffinity ... yes
using sched_get_priority_min ... yes
using sched_yield ... yes
using select ... yes
using POSIX semaphores ... yes
using SYSV semaphores ... yes
using setdomainname ... yes
using setfsgid ... yes
using sendfile ... yes
using semtimedop ... yes
using setproctitle ... no
using setfsuid ... yes
using setns ... yes
using sendmmsg ... yes
using setmntent ... yes
using setitimer ... yes
using setpgid ... yes
using setpriority ... yes
using setpwent ... yes
using setpgrp ... yes
using setregid ... yes
using setresuid ... yes
using settimeofday ... yes
using setreuid ... yes
using setresgid ... yes
using setxattr ... yes
using SYSV shm ... yes
using sigaltstack ... yes
using signalfd ... yes
using sigqueue ... yes
using sincosl ... yes
using sigwaitinfo ... yes
using sincosf ... yes
using sincos ... yes
using sinhl ... yes
using sinhf ... yes
using sqrtl ... yes
using statfs ... yes
using splice ... yes
using sqrt ... yes
using srand48 ... yes
using statx ... no
using sinl ... yes
using sinh ... yes
using stat ... yes
using stime ... yes
using sqrtf ... yes
using swapon ... yes
using sync_file_range ... yes
using __sync_synchronize ... yes
using sync_val_compare_and_swap ... yes
using swapcontext ... no
using sync_bool_compare_and_swap ... yes
using symlinkat ... yes
using sysinfo ... yes
using syncfs ... yes
using tcdrain ... yes
using syscall ... yes
using tcflow ... yes
using tcflush ... yes
using timerfd_gettime ... yes
using timer_delete ... yes
using tgkill ... yes
using tcgetattr ... yes
using timer_getoverrrun ... yes
using tee ... yes
using timerfd_settime ... yes
using timer_gettime ... yes
using timerfd_create ... yes
using timer_settime ... yes
using ustat ... no
using time ... yes
using timer_create ... yes
using umount2 ... yes
using tsearch ... yes
using unshare ... yes
using utime ... yes
using unlinkat ... yes
using utimensat ... yes
using uname ... yes
using ttyname ... yes
using valloc ... yes
using vfork ... yes
using vmsplice ... yes
using vhangup ... yes
using wcscat ... no
using wcscasecmp ... no
using wait3 ... yes
using wcscmp ... no
using waitid ... yes
using wcscoll ... no
using wcschr ... no
using wait4 ... yes
using wcslcat ... no
using wcscpy ... no
using wcslen ... no
using waitpid ... yes
using wcslcpy ... no
using wcsncasecmp ... no
using wcsncat ... no
using wcsrchr ... no
using wcsxfrm ... no
using wcsncmp ... no
using y0l ... no
using y1l ... no
using ynl ... no
using y1 ... yes
using yn ... yes
using y0 ... yes
using y1f ... yes
using y0f ... yes
using ynf ... yes
1024 configurations checked
make[1]: Leaving directory '/home/stress-ng-0.18.07'
if grep -q '^#define HAVE_EIGEN' config.h; then \
        echo "CXX stress-eigen-ops.cpp";        \
        clang++ --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -c -o stress-eigen-ops.o stress-eigen-ops.cpp; \
else \
        echo "CC stress-eigen-ops.c";   \
        clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -c -o stress-eigen-ops.o stress-eigen-ops.c; \
fi
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -E -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 core-io-uring.c  | grep IORING_OP | sed 's/,//' | \
sed 's/.*\(IORING_OP_.*\)/#define HAVE_\1/' > io-uring.h
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -E -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 core-personality.c | grep -e "PER_[A-Z0-9]* =.*," | cut -d "=" -f 1 \
| sed "s/.$/,/" > personality.h
if [ -n "" ]; then \
        echo "Generating AppArmor profile from usr.bin.pulseaudio.eg"; \
        /sbin/apparmor_parser -Q usr.bin.pulseaudio.eg  -o apparmor-data.bin >/dev/null 2>&1 ; \
else \
        echo "Generating empty AppArmor profile"; \
        touch apparmor-data.bin; \
fi
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -E core-perf-event.c | grep "PERF_COUNT" | \
sed 's/,/ /' | sed s/'^ *//' | \
awk {'print "#define STRESS_" $1 " (1)"'} > core-perf-event.h
echo "const char stress_config[] = " > core-config.c
Generating empty AppArmor profile
CC stress-eigen-ops.c
echo "#include <stddef.h>" > apparmor-data.c
sed 's/.*/"&\\n"/' config.h >> core-config.c
echo "char g_apparmor_data[]= { " >> apparmor-data.c
CC stress-vecmath.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-builtin -c -o stress-vecmath.o stress-vecmath.c
od -tx1 -An -v < apparmor-data.bin | \
        sed 's/[0-9a-f][0-9a-f]/0x&,/g' | \
        sed '$ s/.$//' >> apparmor-data.c
echo ";" >> core-config.c
echo "};" >> apparmor-data.c
rm -f apparmor-data.bin
echo "const size_t g_apparmor_data_len = sizeof(g_apparmor_data);" >> apparmor-data.c
CC apparmor-data.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c apparmor-data.c -o apparmor-data.o
MK personality.h
MK io-uring.h
CC core-affinity.c
CC core-perf.c
CC core-asm-ret.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-affinity.o core-affinity.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-perf.o core-perf.c
CC core-cpu.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-asm-ret.o core-asm-ret.c
CC core-cpu-cache.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-cpu.o core-cpu.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-cpu-cache.o core-cpu-cache.c
CC core-cpuidle.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-cpuidle.o core-cpuidle.c
CC core-clocksource.c
CC core-config-check.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-clocksource.o core-clocksource.c
CC core-hash.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-config-check.o core-config-check.c
CC core-helper.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-hash.o core-hash.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-helper.o core-helper.c
CC core-ignite-cpu.c
CC core-interrupts.c
CC core-io-uring.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-ignite-cpu.o core-ignite-cpu.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-interrupts.o core-interrupts.c
CC core-io-priority.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-io-uring.o core-io-uring.c
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o core-io-priority.o core-io-priority.c
rm -f apparmor-data.c
CC core-job.c
...
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -c -o stress-zombie.o stress-zombie.c
2 warnings generated.
LD stress-ng
clang --target=aarch64-linux-ohos --sysroot=/home/ohos/sysroot apparmor-data.o stress-eigen-ops.o core-affinity.o core-asm-ret.o core-cpu.o core-cpu-cache.o core-cpuidle.o core-clocksource.o core-config-check.o core-hash.o core-helper.o core-ignite-cpu.o core-interrupts.o core-io-uring.o core-io-priority.o core-job.o core-killpid.o core-klog.o core-limit.o core-lock.o core-log.o core-madvise.o core-mincore.o core-mlock.o core-mmap.o core-module.o core-mounts.o core-mwc.o core-net.o core-numa.o core-opts.o core-out-of-memory.o core-parse-opts.o core-perf.o core-processes.o core-rapl.o core-resources.o core-sched.o core-setting.o core-shared-heap.o core-shim.o core-smart.o core-sort.o core-thermal-zone.o core-time.o core-thrash.o core-ftrace.o core-try-open.o core-vmstat.o stress-ng.o core-config.o stress-access.o stress-acl.o stress-affinity.o stress-af-alg.o stress-aio.o stress-aiol.o stress-alarm.o stress-apparmor.o stress-atomic.o stress-bad-altstack.o stress-bad-ioctl.o stress-besselmath.o stress-bigheap.o stress-bind-mount.o stress-binderfs.o stress-bitonicsort.o stress-bitops.o stress-branch.o stress-brk.o stress-bsearch.o stress-bubblesort.o stress-cache.o stress-cacheline.o stress-cap.o stress-cgroup.o stress-chattr.o stress-chdir.o stress-chmod.o stress-chown.o stress-chroot.o stress-clock.o stress-clone.o stress-close.o stress-context.o stress-copy-file.o stress-cpu.o stress-cpu-online.o stress-cpu-sched.o stress-crypt.o stress-cyclic.o stress-daemon.o stress-dccp.o stress-dekker.o stress-dentry.o stress-dev.o stress-dev-shm.o stress-dfp.o stress-dir.o stress-dirdeep.o stress-dirmany.o stress-dnotify.o stress-dup.o stress-dynlib.o stress-eigen.o stress-efivar.o stress-enosys.o stress-env.o stress-epoll.o stress-eventfd.o stress-exec.o stress-exit-group.o stress-expmath.o stress-factor.o stress-fallocate.o stress-fanotify.o stress-far-branch.o stress-fault.o stress-fcntl.o stress-fd-fork.o stress-fd-race.o stress-fibsearch.o stress-fiemap.o stress-fifo.o stress-file-ioctl.o stress-filename.o stress-flipflop.o stress-flock.o stress-flushcache.o stress-fma.o stress-fork.o stress-forkheavy.o stress-fp.o stress-fp-error.o stress-fpunch.o stress-fractal.o stress-fsize.o stress-fstat.o stress-full.o stress-funccall.o stress-funcret.o stress-futex.o stress-get.o stress-getrandom.o stress-getdent.o stress-goto.o stress-gpu.o stress-handle.o stress-hash.o stress-hdd.o stress-heapsort.o stress-hrtimers.o stress-hsearch.o stress-hyperbolic.o stress-icache.o stress-icmp-flood.o stress-idle-page.o stress-inode-flags.o stress-inotify.o stress-insertionsort.o stress-intmath.o stress-io.o stress-iomix.o stress-ioport.o stress-ioprio.o stress-io-uring.o stress-ipsec-mb.o stress-itimer.o stress-jpeg.o stress-judy.o stress-kcmp.o stress-key.o stress-kill.o stress-klog.o stress-kvm.o stress-l1cache.o stress-landlock.o stress-lease.o stress-led.o stress-link.o stress-list.o stress-llc-affinity.o stress-loadavg.o stress-lockbus.o stress-locka.o stress-lockf.o stress-lockmix.o stress-lockofd.o stress-logmath.o stress-longjmp.o stress-loop.o stress-lsearch.o stress-lsm.o stress-madvise.o stress-malloc.o stress-matrix.o stress-matrix-3d.o stress-mcontend.o stress-membarrier.o stress-memcpy.o stress-memfd.o stress-memhotplug.o stress-memrate.o stress-memthrash.o stress-mergesort.o stress-metamix.o stress-mincore.o stress-min-nanosleep.o stress-misaligned.o stress-mknod.o stress-mlock.o stress-mlockmany.o stress-mmap.o stress-mmapaddr.o stress-mmapfiles.o stress-mmapfixed.o stress-mmapfork.o stress-mmaphuge.o stress-mmapmany.o stress-module.o stress-monte-carlo.o stress-mprotect.o stress-mpfr.o stress-mq.o stress-mremap.o stress-mseal.o stress-msg.o stress-msync.o stress-msyncmany.o stress-mtx.o stress-munmap.o stress-mutex.o stress-nanosleep.o stress-netdev.o stress-netlink-proc.o stress-netlink-task.o stress-nice.o stress-nop.o stress-null.o stress-numa.o stress-oom-pipe.o stress-opcode.o stress-open.o stress-pagemove.o stress-pageswap.o stress-pci.o stress-personality.o stress-peterson.o stress-physpage.o stress-pidfd.o stress-ping-sock.o stress-pipe.o stress-pipeherd.o stress-pkey.o stress-plugin.o stress-poll.o stress-powmath.o stress-prctl.o stress-prefetch.o stress-prime.o stress-prio-inv.o stress-priv-instr.o stress-procfs.o stress-pseek.o stress-pthread.o stress-ptrace.o stress-ptr-chase.o stress-pty.o stress-quota.o stress-qsort.o stress-race-sched.o stress-radixsort.o stress-randlist.o stress-ramfs.o stress-rawdev.o stress-rawpkt.o stress-rawsock.o stress-rawudp.o stress-rdrand.o stress-readahead.o stress-reboot.o stress-regs.o stress-remap.o stress-rename.o stress-resched.o stress-resources.o stress-revio.o stress-ring-pipe.o stress-rlimit.o stress-rmap.o stress-rotate.o stress-rseq.o stress-rtc.o stress-sctp.o stress-schedmix.o stress-schedpolicy.o stress-seal.o stress-seccomp.o stress-secretmem.o stress-seek.o stress-sem.o stress-sem-sysv.o stress-sendfile.o stress-session.o stress-set.o stress-shellsort.o stress-shm.o stress-shm-sysv.o stress-sigabrt.o stress-sigbus.o stress-sigchld.o stress-sigfd.o stress-sigfpe.o stress-sighup.o stress-sigill.o stress-sigio.o stress-signal.o stress-signest.o stress-sigpending.o stress-sigpipe.o stress-sigq.o stress-sigrt.o stress-sigsegv.o stress-sigsuspend.o stress-sigtrap.o stress-sigurg.o stress-sigvtalrm.o stress-sigxcpu.o stress-sigxfsz.o stress-skiplist.o stress-sleep.o stress-smi.o stress-sock.o stress-sockabuse.o stress-sockdiag.o stress-sockfd.o stress-sockpair.o stress-sockmany.o stress-softlockup.o stress-spawn.o stress-sparsematrix.o stress-spinmem.o stress-splice.o stress-stack.o stress-stackmmap.o stress-statmount.o stress-str.o stress-stream.o stress-swap.o stress-switch.o stress-sync-file.o stress-syncload.o stress-sysbadaddr.o stress-syscall.o stress-sysinfo.o stress-sysinval.o stress-sysfs.o stress-tee.o stress-timer.o stress-timerfd.o stress-time-warp.o stress-tlb-shootdown.o stress-tmpfs.o stress-touch.o stress-tree.o stress-trig.o stress-tsc.o stress-tsearch.o stress-tun.o stress-udp.o stress-udp-flood.o stress-umount.o stress-unlink.o stress-unshare.o stress-uprobe.o stress-urandom.o stress-userfaultfd.o stress-usersyscall.o stress-utime.o stress-vdso.o stress-vecfp.o stress-vecmath.o stress-vecshuf.o stress-vecwide.o stress-verity.o stress-vforkmany.o stress-vm.o stress-vm-addr.o stress-vm-rw.o stress-vm-segv.o stress-vm-splice.o stress-vma.o stress-vnni.o stress-wait.o stress-waitcpu.o stress-watchdog.o stress-wcs.o stress-workload.o stress-x86cpuid.o stress-x86syscall.o stress-xattr.o stress-yield.o stress-zero.o stress-zlib.o stress-zombie.o -lm  -lcrypt  -lrt  -lpthread  -lm  -lc  -Wall -Wextra -DVERSION='"0.18.07"' -std=gnu99 -O2 -Wformat -fstack-protector-strong -Werror=format-security -D_FORTIFY_SOURCE=2 -o stress-ng
ld.lld: error: duplicate symbol: __packed
>>> defined at stress-binderfs.c
>>>            stress-binderfs.o:(__packed)
>>> defined at stress-syscall.c
>>>            stress-syscall.o:(.bss+0x0)

ld.lld: error: duplicate symbol: __packed
>>> defined at stress-binderfs.c
>>>            stress-binderfs.o:(__packed)
>>> defined at stress-userfaultfd.c
>>>            stress-userfaultfd.o:(.bss+0x0)
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:773: stress-ng] Error 1
@ColinIanKing
Copy link
Owner

I've pushed a fix b0de2fe that addresses the packed detection, however, I think that cross-building stress-ng is not going to work correctly as the auto-configuration is basing the target settings on that of the host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants