[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 cqwrteur changed: What|Removed |Added Target||x86_64-ubuntu-linux-gnu Host||x86_64-w64-mingw32 CC||euloanty at live dot com Build||x86_64-linux-gnu -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 --- Comment #1 from cqwrteur --- i do canadian compilation for windows to build linux programs. gprofng simply does not correctly support windows host. Needs to block it in the build script -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 Vladimir Mezentsev changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2022-05-02 --- Comment #2 from Vladimir Mezentsev --- How do you configure your build ? gprofng should not be built for x86_64-w64-mingw32. Only these platforms are supported: % cat gprofng/configure.ac ... case "${target}" in x86_64-*-linux*) build_src=true build_collector=true ;; i?86-*-linux*) build_collector=true build_collector=true ;; aarch64-*-linux*) build_src=true build_collector=true ;; esac -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 --- Comment #3 from cqwrteur --- (In reply to Vladimir Mezentsev from comment #2) > How do you configure your build ? > > gprofng should not be built for x86_64-w64-mingw32. > Only these platforms are supported: > > % cat gprofng/configure.ac > ... > case "${target}" in > x86_64-*-linux*) > build_src=true > build_collector=true > ;; > i?86-*-linux*) > build_collector=true > build_collector=true > ;; > aarch64-*-linux*) > build_src=true > build_collector=true > ;; > esac I do Canadian compilation for building cross back compiler. (Aka, the compiler is built on linux, hosted on windows, and targeting windows) Here the bug is that if target is linux but host is windows, your configure script would still build collector. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 --- Comment #4 from cqwrteur --- (In reply to Vladimir Mezentsev from comment #2) > How do you configure your build ? > > gprofng should not be built for x86_64-w64-mingw32. > Only these platforms are supported: > > % cat gprofng/configure.ac > ... > case "${target}" in > x86_64-*-linux*) > build_src=true > build_collector=true > ;; > i?86-*-linux*) > build_collector=true > build_collector=true > ;; > aarch64-*-linux*) > build_src=true > build_collector=true > ;; > esac the compiler runs on WINDOWS. but the compiled program runs on linux. The build process is again on linux. It is a crossback Canadian toolchain. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 --- Comment #5 from cqwrteur --- (In reply to Vladimir Mezentsev from comment #2) > How do you configure your build ? > > gprofng should not be built for x86_64-w64-mingw32. > Only these platforms are supported: > > % cat gprofng/configure.ac > ... > case "${target}" in > x86_64-*-linux*) > build_src=true > build_collector=true > ;; > i?86-*-linux*) > build_collector=true > build_collector=true > ;; > aarch64-*-linux*) > build_src=true > build_collector=true > ;; > esac case "${target}" in is clearly wrong. It should be ${host}, not ${target} -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 --- Comment #6 from Hans-Peter Nilsson --- (In reply to Vladimir Mezentsev from comment #2) > How do you configure your build ? > > gprofng should not be built for x86_64-w64-mingw32. > Only these platforms are supported: > > % cat gprofng/configure.ac > ... > case "${target}" in > x86_64-*-linux*) > build_src=true > build_collector=true > ;; > i?86-*-linux*) > build_collector=true > build_collector=true > ;; > aarch64-*-linux*) > build_src=true > build_collector=true > ;; > esac Surely unrelated, but what's the effect of the apparent typo in the "i?86-*-linux*)" case? -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Vladimir Mezentsev : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1653ae5b8440e2182ac86974b99b603bc15aa163 commit 1653ae5b8440e2182ac86974b99b603bc15aa163 Author: Vladimir Mezentsev Date: Thu May 5 00:08:19 2022 -0700 gprofng: use $host instead $target By mistake, $target was used instead of $host to configure the gprogng build. gprofng/ChangeLog 2022-04-28 Vladimir Mezentsev PR gprofng/29113 PR gprofng/29116 * configure.ac: Use $host instead $target. * libcollector/configure.ac: Likewise. * configure: Rebuild. * libcollector/configure: Rebuild. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 --- Comment #8 from Vladimir Mezentsev --- Has the problem been fixed in your build ? -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29113] Build error for x86_64-w64-mingw32 host since CLOCK_MONOTONIC does not exist
https://sourceware.org/bugzilla/show_bug.cgi?id=29113 Vladimir Mezentsev changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #9 from Vladimir Mezentsev --- Update status as resolved/fixed. -- You are receiving this mail because: You are on the CC list for the bug.