https://bugs.kde.org/show_bug.cgi?id=503419

--- Comment #5 from Paul Floyd <pjfl...@wanadoo.fr> ---
The bit of Makefile that does this is

pub/libvex_guest_offsets.h: auxprogs/genoffsets.c \
                            pub/libvex_basictypes.h \
                            pub/libvex_guest_x86.h \
                            pub/libvex_guest_amd64.h \
                            pub/libvex_guest_ppc32.h \
                            pub/libvex_guest_ppc64.h \
                            pub/libvex_guest_arm.h \
                            pub/libvex_guest_arm64.h \
                            pub/libvex_guest_s390x.h \
                            pub/libvex_guest_mips32.h \
                            pub/libvex_guest_mips64.h \
                            pub/libvex_guest_riscv64.h
        rm -f auxprogs/genoffsets.s
        $(mkdir_p) auxprogs pub
        $(CC) $(CFLAGS_FOR_GENOFFSETS) \
              $(LIBVEX_CFLAGS_NO_LTO) \
              $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) \
                                -O -S -o auxprogs/genoffsets.s \
                                         $(srcdir)/auxprogs/genoffsets.c
        grep xyzzy auxprogs/genoffsets.s | grep "^[# ]*#define" \
           | sed "s/# #define/#define/g" \
           | sed "s/xyzzy\\$$//g" \
           | sed "s/xyzzy#//g" \
           | sed "s/xyzzy//g" \
           > pub/libvex_guest_offsets.h
        rm -f auxprogs/genoffsets.s

this
- deletes the old asm file
- runs gcc on the C file and outputs asm
- greps for xyzzy and then filters out a load of stuff

You should be able to run just those commands by doing

cd VEX
make pub/libvex_guest_offsets.h

Can you run some of those commands by hand to see where it is going wrong?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to