On Dec 7 15:05, Daniel Abrahamsson via Cygwin wrote: > > On Dec 7 12:50, Corinna Vinschen via Cygwin wrote: > > > On Dec 7 08:58, Daniel Abrahamsson via Cygwin wrote: > > > > Hi, > > > > > > > > This morning I updated cygwin, and after that gcc started producing > > > > errors like this: > > > > > > > > > gcc -Wall -Wextra -Werror -pedantic -Wno-unused-parameter -g -pg > > > > > -DVERBOSE -c -o ../obj/<somefile>.o <somefile>.c > > > > > gcc -o ../bin/<mybin> ../obj/<somefile>.o -pg > > > > > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: > > > > > ../obj/<somefile>.o: in function `exit_eval_failure': > > > > /home/daab/dev/someproj/src/<somefile>.c:17: undefined reference to > > > > `__fentry__' > > > > [...] > > > Thanks for the report. > > > > > > This is a dumb bug I introduced into the build system in 3.4.0. I fixed > > > that in the git repo, but the automated build of the matching test > > > [...] > > Automated builds have been picked up again and the Cygwin test package > > 3.5.0-0.17.g95f5b0a62036 should be available later today. You can > > install it using setup.exe, just like any other test release. > > > > Don't forget to install the matching cygwin-devel package, too, that's > > the one containing the library libgmon.a, which is what gets linked in > > with `gcc -pg'. > > I can confirm 3.5.0-0.17.g95f5b0a62036 solves the issue with the "-pg" > flag. Thank you!
Thanks for your feedback! Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple