bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25803] cross compilation of glibc using mips64el-none-linu


From: broly at mac dot com
Subject: [Bug binutils/25803] cross compilation of glibc using mips64el-none-linux-gnu as the host
Date: Wed, 15 Apr 2020 16:47:06 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25803

--- Comment #14 from gagan singh sidhu (gagz, broly, w/e u want) <broly at mac 
dot com> ---
hello nick,

now i see:

cd /Volumes/xtoolshit/bglibc &&
/Volumes/xtoolshit/hdr3/cross/bin/../lib/gcc/mips64el-none-linux-gnu/9.3.0/../../../../mips64el-none-linux-gnu/bin/ar
cruv libc_nonshared.a `cat csu/stamp.oS iconv/stamp.oS locale/stamp.oS
localedata/stamp.oS iconvdata/stamp.oS assert/stamp.oS ctype/stamp.oS
intl/stamp.oS catgets/stamp.oS math/stamp.oS setjmp/stamp.oS signal/stamp.oS
stdlib/stamp.oS stdio-common/stamp.oS libio/stamp.oS dlfcn/stamp.oS
malloc/stamp.oS string/stamp.oS wcsmbs/stamp.oS timezone/stamp.oS time/stamp.oS
dirent/stamp.oS grp/stamp.oS pwd/stamp.oS posix/stamp.oS io/stamp.oS
termios/stamp.oS resource/stamp.oS misc/stamp.oS socket/stamp.oS
sysvipc/stamp.oS gmon/stamp.oS gnulib/stamp.oS wctype/stamp.oS manual/stamp.oS
shadow/stamp.oS gshadow/stamp.oS po/stamp.oS argp/stamp.oS nptl/stamp.oS
rt/stamp.oS conform/stamp.oS debug/stamp.oS mathvec/stamp.oS support/stamp.oS
crypt/stamp.oS nptl_db/stamp.oS inet/stamp.oS resolv/stamp.oS nss/stamp.oS
hesiod/stamp.oS sunrpc/stamp.oS nis/stamp.oS nscd/stamp.oS streams/stamp.oS
login/stamp.oS elf/stamp.oS stamp.oS`
/Applications/Xcode.app/Contents/Developer/usr/bin/make  subdir=rt -C rt ..=../
others
cd /Volumes/xtoolshit/bglibc &&
/Volumes/xtoolshit/hdr3/cross/bin/../lib/gcc/mips64el-none-linux-gnu/9.3.0/../../../../mips64el-none-linux-gnu/bin/ar
cruv libc_nonshared.a `cat csu/stamp.oS iconv/stamp.oS locale/stamp.oS
localedata/stamp.oS iconvdata/stamp.oS assert/stamp.oS ctype/stamp.oS
intl/stamp.oS catgets/stamp.oS math/stamp.oS setjmp/stamp.oS signal/stamp.oS
stdlib/stamp.oS stdio-common/stamp.oS libio/stamp.oS dlfcn/stamp.oS
malloc/stamp.oS string/stamp.oS wcsmbs/stamp.oS timezone/stamp.oS time/stamp.oS
dirent/stamp.oS grp/stamp.oS pwd/stamp.oS posix/stamp.oS io/stamp.oS
termios/stamp.oS resource/stamp.oS misc/stamp.oS socket/stamp.oS
sysvipc/stamp.oS gmon/stamp.oS gnulib/stamp.oS wctype/stamp.oS manual/stamp.oS
shadow/stamp.oS gshadow/stamp.oS po/stamp.oS argp/stamp.oS nptl/stamp.oS
rt/stamp.oS conform/stamp.oS debug/stamp.oS mathvec/stamp.oS support/stamp.oS
crypt/stamp.oS nptl_db/stamp.oS inet/stamp.oS resolv/stamp.oS nss/stamp.oS
hesiod/stamp.oS sunrpc/stamp.oS nis/stamp.oS nscd/stamp.oS streams/stamp.oS
login/stamp.oS elf/stamp.oS stamp.oS`
mips64el-none-linux-gnu-gcc -mabi=32 -B/cross/bin/   -shared -static-libgcc
-Wl,-O1  -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld.so.1 
-B/Volumes/xtoolshit/bglibc/csu/ 
-Wl,--version-script=/Volumes/xtoolshit/bglibc/librt.map -Wl,-soname=librt.so.1
-Wl,-z,relro -Wl,--hash-style=both  -Wl,--enable-new-dtags,-z,nodelete
-L/Volumes/xtoolshit/bglibc -L/Volumes/xtoolshit/bglibc/math
-L/Volumes/xtoolshit/bglibc/elf -L/Volumes/xtoolshit/bglibc/dlfcn
-L/Volumes/xtoolshit/bglibc/nss -L/Volumes/xtoolshit/bglibc/nis
-L/Volumes/xtoolshit/bglibc/rt -L/Volumes/xtoolshit/bglibc/resolv
-L/Volumes/xtoolshit/bglibc/mathvec -L/Volumes/xtoolshit/bglibc/support
-L/Volumes/xtoolshit/bglibc/crypt -L/Volumes/xtoolshit/bglibc/nptl
-Wl,-rpath-link=/Volumes/xtoolshit/bglibc:/Volumes/xtoolshit/bglibc/math:/Volumes/xtoolshit/bglibc/elf:/Volumes/xtoolshit/bglibc/dlfcn:/Volumes/xtoolshit/bglibc/nss:/Volumes/xtoolshit/bglibc/nis:/Volumes/xtoolshit/bglibc/rt:/Volumes/xtoolshit/bglibc/resolv:/Volumes/xtoolshit/bglibc/mathvec:/Volumes/xtoolshit/bglibc/support:/Volumes/xtoolshit/bglibc/crypt:/Volumes/xtoolshit/bglibc/nptl
-o /Volumes/xtoolshit/bglibc/rt/librt.so -T /Volumes/xtoolshit/bglibc/shlib.lds
/Volumes/xtoolshit/bglibc/csu/abi-note.o -Wl,--whole-archive
/Volumes/xtoolshit/bglibc/rt/librt_pic.a -Wl,--no-whole-archive
/Volumes/xtoolshit/bglibc/nptl/libpthread.so   -Wl,--start-group
/Volumes/xtoolshit/bglibc/libc.so /Volumes/xtoolshit/bglibc/libc_nonshared.a
-Wl,--as-needed /Volumes/xtoolshit/bglibc/elf/ld.so -Wl,--no-as-needed
-Wl,--end-group
/Volumes/xtoolshit/hdr3/cross/bin/../lib/gcc/mips64el-none-linux-gnu/9.3.0/../../../../mips64el-none-linux-gnu/bin/ld:
IFUNC symbol clock_gettime in dynamic symbol table - IFUNCS are not supported
/Volumes/xtoolshit/hdr3/cross/bin/../lib/gcc/mips64el-none-linux-gnu/9.3.0/../../../../mips64el-none-linux-gnu/bin/ld:
IFUNC symbol clock_getcpuclockid in dynamic symbol table - IFUNCS are not
supported
/Volumes/xtoolshit/hdr3/cross/bin/../lib/gcc/mips64el-none-linux-gnu/9.3.0/../../../../mips64el-none-linux-gnu/bin/ld:
IFUNC symbol clock_getres in dynamic symbol table - IFUNCS are not supported
/Volumes/xtoolshit/hdr3/cross/bin/../lib/gcc/mips64el-none-linux-gnu/9.3.0/../../../../mips64el-none-linux-gnu/bin/ld:
IFUNC symbol clock_nanosleep in dynamic symbol table - IFUNCS are not supported
/Volumes/xtoolshit/hdr3/cross/bin/../lib/gcc/mips64el-none-linux-gnu/9.3.0/../../../../mips64el-none-linux-gnu/bin/ld:
IFUNC symbol clock_settime in dynamic symbol table - IFUNCS are not supported


which i assume is the desired output.

if this is the best solution: i'm surprised no one else picked this up sooner.
i was screwing around with different revisions to see what was causing it.

hopefully others will chime in here and determine if it's worthy of being
upstreamed (in this specific circumstance, i'm just the lowly whiner ;))

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]