Discussion:
RELEASE: curl 7.75.0
Daniel Stenberg via curl-library
2021-03-27 11:50:37 UTC
Permalink
TESTFAIL: These test cases failed: 1188
We've updated test 1188 since to make it more reliable in more surroundings. I
think it is likely to have fixed the issue for you as well.
Also, I did see strange optimization flags inserted into the Makefile(s) and
I was able to catch that and edit all the tree Makefile(s) to remove a
strange -xO2 which I did not want.
That's done by the CURL_CHECK_COMPILER_SUNPRO_C macro we have in
m4/curl-compilers.m4

Are those flags wrong?
That may be an issue wherein I need to use autotools to recreate the
Makefile.am input. Regardless my CFLAGS were not respected.
In what way was it not respected? Did you pass in options that didn't
"survive" through?
Keep curl awesome!
Thanks for helping out with feedback on some of the more rarely used
platforms!
--
/ daniel.haxx.se
| Commercial curl support up to 24x7 is available!
| Private help, bug fixes, support, ports, new features
| https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https
Dennis Clarke via curl-library
2021-03-27 17:05:34 UTC
Permalink
Post by Daniel Stenberg via curl-library
TESTFAIL: These test cases failed: 1188
We've updated test 1188 since to make it more reliable in more
surroundings. I think it is likely to have fixed the issue for you as well.
I tend to stay with the production releases however I think that I had
nightly builds going somewhere. I will look around as I am fairly sure
that there were nightlies running on a cron job in some server in a
corner somewhere. I know that sounds strange but with enough systems
running in a datacenter we sometimes lose track. I am certain that I had
curl building nightly somewhere. Now I need to go look.
Post by Daniel Stenberg via curl-library
Also, I did see strange optimization flags inserted into the
Makefile(s) and I was able to catch that and edit all the tree
Makefile(s) to remove a strange -xO2 which I did not want.
That's done by the CURL_CHECK_COMPILER_SUNPRO_C macro we have in
m4/curl-compilers.m4
Are those flags wrong?
Only a little.

alpha $ echo $CFLAGS
-m64 -xarch=sparc -xO0 -g -Xa -errfmt=error -erroff=%none -errshort=full
-xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl
-xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -Qy
-xdebugformat=dwarf

Well on some software from the open source world I push C99 as the spec
to enforce.

The above is much more relaxed. If that is the word. OpenSSL is not C99
and has never been anything past C89. That is fine as it needs to be
used everywhere. Same with curl. So I usually start with a relaxed set
of CFLAGS that allow for C89 and then try again with C99 later. Please
note the -xO0 there. No optimization at all. None. Also the -g for a
debug build.

Strangely the resultant Makefiles all had -xO2 in them. That was odd.

Anyways I manually edited all Makefiles to get the CFLAGS back to the
above and everything seems fine. Except for test 1188 which is odd.
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiqu
Loading...