From: sotrdg sotrdg via Libc-alpha <libc-alpha@sourceware.org>
To: DJ Delorie <dj@redhat.com>,
sotrdg sotrdg via Libc-alpha <libc-alpha@sourceware.org>,
"libc-help@sourceware.org" <libc-help@sourceware.org>
Subject: RE: FW: several glibc build bugs on MinGW-w64
Date: Sat, 17 Oct 2020 10:50:22 +0000 [thread overview]
Message-ID: <CH2PR02MB65221C803EE3B4B9BEFA589DB2000@CH2PR02MB6522.namprd02.prod.outlook.com> (raw)
In-Reply-To: <CH2PR02MB65223773124B1A8FCDBF920DB2000@CH2PR02MB6522.namprd02.prod.outlook.com>
A new issue lol
x86_64-linux-gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/x86_64-linux/x86_64-linux/lib/ld-linux-x86-64.so.2 -B/build-glibc/csu/ -Wl,--version-script=/build-glibc/libmvec.map -Wl,-soname=libmvec.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -L/build-glibc -L/build-glibc/math -L/build-glibc/elf -L/build-glibc/dlfcn -L/build-glibc/nss -L/build-glibc/nis -L/build-glibc/rt -L/build-glibc/resolv -L/build-glibc/mathvec -L/build-glibc/support -L/build-glibc/crypt -L/build-glibc/nptl -Wl,-rpath-link=/build-glibc:/build-glibc/math:/build-glibc/elf:/build-glibc/dlfcn:/build-glibc/nss:/build-glibc/nis:/build-glibc/rt:/build-glibc/resolv:/build-glibc/mathvec:/build-glibc/support:/build-glibc/crypt:/build-glibc/nptl -o /build-glibc/mathvec/libmvec.so -T /build-glibc/shlib.lds /build-glibc/csu/abi-note.o -Wl,--whole-archive /build-glibc/mathvec/libmvec_pic.a -Wl,--no-whole-archive /build-glibc/math/libm.so.6 -Wl,--start-group /build-glibc/libc.so /build-glibc/libc_nonshared.a -Wl,--as-needed /build-glibc/elf/ld.so -Wl,--no-as-needed -Wl,--end-group
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_log2_core_sse4.os): in function `_ZGVbN2v_log_sse4':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S:214: undefined reference to `log'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S:224: undefined reference to `log'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_log4_core_avx2.os): in function `_ZGVdN4v_log_avx2':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S:194: undefined reference to `log'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S:205: undefined reference to `log'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/lib
mvec_pic.a(svml_d_log8_core_avx512.os): in function `_ZGVeN8v_log_knl':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:225: undefined reference to `log'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/lib
mvec_pic.a(svml_d_log8_core_avx512.os):D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:233: more undefined references to `log' follow
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_exp2_core_sse4.os): in function `_ZGVbN2v_exp_sse4':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S:210: undefined reference to `exp'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S:220: undefined reference to `exp'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_exp4_core_avx2.os): in function `_ZGVdN4v_exp_avx2':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S:196: undefined reference to `exp'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S:207: undefined reference to `exp'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_exp8_core_avx512.os): in function `_ZGVeN8v_exp_knl':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:226: undefined reference to `exp'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_exp8_core_avx512.os):D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:234: more undefined references to `exp' follow
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_pow2_core_sse4.os): in function `_ZGVbN2vv_pow_sse4':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S:416: undefined reference to `pow'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S:427: undefined reference to `pow'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_pow4_core_avx2.os): in function `_ZGVdN4vv_pow_avx2':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S:370: undefined reference to `pow'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdep
s/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S:382: undefined reference to `pow'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_pow8_core_avx512.os): in function `_ZGVeN8vv_pow_knl':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:395: undefined reference to `pow'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_pow8_core_avx512.os):D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:404: more undefined references to `pow' follow
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_exp2_core-sse2.os): in function `_ZGVbN2v_exp_sse2':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/../svml_d_exp2_core.S:24: undefined reference to `exp'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/../svml_d_exp2_core.S:24: undefined reference to `exp'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_log2_core-sse2.os): in function `_ZGVbN2v_log_sse2':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/../svml_d_log2_core.S:24: undefined reference to `log'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/../svml_d_log2_core.S:24: undefined reference to `log'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:/msys64/build-glibc/mathvec/libmvec_pic.a(svml_d_pow2_core-sse2.os): in function `_ZGVbN2vv_pow_sse2':
D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/../svml_d_pow2_core.S:24: undefined reference to `pow'
d:/msys64/x86_64-linux/bin/../lib/gcc/x86_64-linux/11.0.0/../../../../x86_64-linux/bin/ld.exe: D:\msys64\glibc\mathvec/../sysdeps/x86_64/fpu/multiarch/../svml_d_pow2_core.S:24: undefined reference to `pow'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [../Makerules:536: /build-glibc/mathvec/libmvec.so] Error 1
make[2]: Leaving directory '/glibc/mathvec'
make[1]: *** [Makefile:479: mathvec/others] Error 2
make[1]: Leaving directory '/glibc'
make: *** [Makefile:9: all] Error 2Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: sotrdg sotrdg<mailto:euloanty@live.com>
Sent: Saturday, October 17, 2020 06:31
To: DJ Delorie<mailto:dj@redhat.com>; sotrdg sotrdg via Libc-alpha<mailto:libc-alpha@sourceware.org>; libc-help@sourceware.org<mailto:libc-help@sourceware.org>
Subject: RE: FW: several glibc build bugs on MinGW-w64
$ LC_ALL=C \
> sed -n 's@^[0-9a-f ]*/build-glibc/\([^(]*\)(\([^)]*\.os\)) *.*$@\1 \2@p' \
> /build-glibc/elf/librtld.map | \
> while read lib file; do \
> case $lib in \
> libc_pic.a) \
> LC_ALL=C fgrep -l /$file \
> /build-glibc/stamp.os /build-glibc/*/stamp.os | \
> LC_ALL=C \
> sed 's@^/build-glibc/\([^/]*\)/stamp\.os$@rtld-\1'" +=$file@"\
> ;; \
> */*.a) \
> echo rtld-${lib%%/*} += $file ;; \
> *) echo "Wasn't expecting $lib($file)" >&2; exit 1 ;; \
> esac; \
> done > /build-glibc/elf/librtld.mkT
It looks like the problem here is because the script generates null file from this librtld.map. Anyone knows how to deal with the issue here?
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: DJ Delorie<mailto:dj@redhat.com>
Sent: Friday, October 16, 2020 21:40
To: sotrdg sotrdg<mailto:euloanty@live.com>
Subject: Re: FW: several glibc build bugs on MinGW-w64
Sorry, I have no idea.
next prev parent reply other threads:[~2020-10-17 10:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CH2PR02MB652261928A76F3257DE01D20B2000@CH2PR02MB6522.namprd02.prod.outlook.com>
[not found] ` <xnmu0l1vg8.fsf@greed.delorie.com>
2020-10-17 10:31 ` FW: several glibc build bugs on MinGW-w64 sotrdg sotrdg via Libc-alpha
2020-10-17 10:46 ` sotrdg sotrdg via Libc-alpha
2020-10-17 10:50 ` sotrdg sotrdg via Libc-alpha [this message]
2020-10-13 16:32 sotrdg sotrdg via Libc-alpha
2020-10-13 16:43 ` FW: " sotrdg sotrdg via Libc-alpha
2020-10-13 20:53 ` Adhemerval Zanella via Libc-alpha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CH2PR02MB65221C803EE3B4B9BEFA589DB2000@CH2PR02MB6522.namprd02.prod.outlook.com \
--to=libc-alpha@sourceware.org \
--cc=dj@redhat.com \
--cc=euloanty@live.com \
--cc=libc-help@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).