https://llvm.org/bugs/show_bug.cgi?id=31148

            Bug ID: 31148
           Summary: Assertion failed: (isa<X>(Val) && "cast<Ty>() argument
                    of incompatible type!") during FreeBSD/mips64 rescue
                    build
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: ema...@freebsd.org
                CC: llvm-bugs@lists.llvm.org
            Blocks: 23214
    Classification: Unclassified

I will collect a reproduction cpio soon.

Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"),
function cast, file ../include/llvm/Support/Casting.h, line 236.
0  ld          0x0000000000aade6f llvm::raw_null_ostream::~raw_null_ostream() +
146431
1  ld          0x0000000000aae2c9 llvm::raw_null_ostream::~raw_null_ostream() +
147545
2  ld          0x0000000000aab107 llvm::raw_null_ostream::~raw_null_ostream() +
134807
3  ld          0x0000000000aae7cc llvm::raw_null_ostream::~raw_null_ostream() +
148828
4  libthr.so.3 0x00000008052cea3a pthread_sigmask + 1306                        
5  libthr.so.3 0x00000008052ce11c pthread_getspecific + 3580                    
Stack dump:                                                                     
0.      Program arguments:
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/bin/ld
--sysroot=/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp -EB -EB
-EB -G0 -melf64btsmip_fbsd -Bstatic -o rescue
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/lib/crt1.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/lib/crti.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/lib/crtbeginT.o
-L/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/lib
-L/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/lib
-L/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/lib
-L/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/bin
-L/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/bin
rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo date.lo dd.lo df.lo echo.lo
ed.lo expr.lo getfacl.lo hostname.lo kenv.lo kill.lo ln.lo ls.lo mkdir.lo mv.lo
pkill.lo ps.lo pwd.lo realpath.lo rm.lo rmdir.lo setfacl.lo sh.lo sleep.lo
stty.lo sync.lo test.lo rcp.lo csh.lo badsect.lo camcontrol.lo ccdconfig.lo
clri.lo devfs.lo dmesg.lo dump.lo dumpfs.lo dumpon.lo fsck.lo fsck_ffs.lo
fsck_msdosfs.lo fsdb.lo fsirand.lo gbde.lo geom.lo ifconfig.lo init.lo
kldconfig.lo kldload.lo kldstat.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo
mdmfs.lo mknod.lo mount.lo mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo
mount_nullfs.lo mount_udf.lo mount_unionfs.lo newfs.lo newfs_msdos.lo
nos-tun.lo ping.lo reboot.lo restore.lo rcorder.lo route.lo routed.lo
rtquery.lo rtsol.lo savecore.lo spppcontrol.lo swapon.lo sysctl.lo tunefs.lo
umount.lo atmconfig.lo ping6.lo ipf.lo zfs.lo zpool.lo dhclient.lo head.lo
mt.lo nc.lo sed.lo tail.lo tee.lo gzip.lo bzip2.lo less.lo xz.lo tar.lo vi.lo
id.lo iscsictl.lo zdb.lo chroot.lo chown.lo iscsid.lo
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/rescue/rescue/../librescue/exec.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/rescue/rescue/../librescue/getusershell.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/rescue/rescue/../librescue/login_class.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/rescue/rescue/../librescue/popen.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/rescue/rescue/../librescue/rcmdsh.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/rescue/rescue/../librescue/sysctl.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/rescue/rescue/../librescue/system.o
-lcrypt -ledit -ljail -lkvm -lelf -ll -ltermcapw -lutil -lxo -l80211 -lalias
-lcam -lncursesw -ldevstat -lipsec -llzma -lavl -lzpool -lzfs_core -lzfs
-lnvpair -lpthread -luutil -lumem -lgeom -lbsdxml -lkiconv -lmt -lsbuf -lufs
-lz -lbz2 -larchive -lcrypto -lmd -lm --start-group -lgcc -lgcc_eh -lc
--end-group
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/lib/crtend.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd-xlld/tmp/usr/lib/crtn.o

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to