Repository navigation
Conversation
vszakats
marked this pull request as draft
February 25, 2025 13:39
-O in CI for WinCE
This comment was marked as resolved.
This comment was marked as resolved.
vszakats
force-pushed
the
ci-am-ce-tests
branch
2 times, most recently
from
February 25, 2025 15:16
0da8e9f to
9c50599
Compare
vszakats
marked this pull request as ready for review
February 25, 2025 15:17
-O in CI for WinCE-O3 for WinCE, fix getpart uninitialized variable
vszakats
added a commit
to vszakats/curl
that referenced
this pull request
Feb 25, 2025
Sync cutoff version for `-ftree-vrp` with autotools, which enables it for gcc 4.3+ (cmake builds enabled it for 5.0+, before this patch). Cherry-picked from curl#16476
-O3 for WinCE, fix getpart uninitialized variable-O3 for WinCE in CI, fix getpart uninitialized variable
vszakats
force-pushed
the
ci-am-ce-tests
branch
from
February 25, 2025 16:00
9c50599 to
564b764
Compare
-O3 for WinCE in CI, fix getpart uninitialized variable-O3 for WinCE in CI, fix getpart uninit var, scache aliasing rule
-O3 for WinCE in CI, fix getpart uninit var, scache aliasing rule-O3 for WinCE in CI, fix fallouts in getpart, vtls_scache
vszakats
force-pushed
the
ci-am-ce-tests
branch
from
February 26, 2025 12:34
4f3a510 to
755c222
Compare
-O3 for WinCE in CI, fix fallouts in getpart, vtls_scache-O3 for WinCE in CI, fix getpart, vtls_scache fallouts, tune CI
-O3 for WinCE in CI, fix getpart, vtls_scache fallouts, tune CI-O3 and tune WinCE in CI, fix getpart, vtls_scache fallouts
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
Sync cutoff version for `-ftree-vrp` with autotools, which enables it for gcc 4.3+ (cmake builds enabled it for 5.0+, before this patch). Cherry-picked from curl#16476 Closes curl#16478
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
…allouts
- GHA/windows/WinCE:
- set `-O3 -DNDEBUG` C flags manually for the CMake mingw32ce build.
CMake doesn't recognize the platform and fails to add them. To match
autotools (using `-O2`), and hit similar compiler warnings.
- enable parallel builds for cmake.
- tune parallelism for cmake using unity batches.
- tune parallelism for autotools.
Follow-up to 2a292c3 curl#15975
- tests: fix potentially uninitialized value in `readline()` in
`getpart.c`. Detected by gcc 4.4.0 `-O2` (Windows CE) jobs:
```
tests/server/getpart.c: In function 'getpart':
tests/server/getpart.c:298: error: 'datalen' may be used uninitialized in this function
```
Ref: https://github.com/curl/curl/actions/runs/13522595237/job/37785147505?pr=16476#step:11:25
Follow-up to 592880a
- vtls_scache: rework returning pointer to avoid compiler warning seen
with `-O3` gcc 4.4.0 builds (Windows CE/schannel):
```
lib/vtls/schannel.c: In function 'schannel_connect_step1':
lib/vtls/vtls_scache.c:975: error: dereferencing pointer 'old_cred.4474' does break strict-aliasing rules
lib/vtls/vtls_scache.c:985: error: dereferencing pointer 'old_cred.4474' does break strict-aliasing rules
lib/vtls/schannel.c:959: note: initialized from here
```
Ref: https://github.com/curl/curl/actions/runs/13523868335/job/37789610845#step:9:25
Follow-up to fa0ccd9 curl#15774
Closes curl#16476
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GHA/windows/WinCE:
-O3 -DNDEBUGC flags manually for the CMake mingw32ce build.CMake doesn't recognize the platform and fails to add them. To match
autotools (using
-O2), and hit similar compiler warnings.Follow-up to 2a292c3 build: add Windows CE / CeGCC support, with CI jobs #15975
tests: fix potentially uninitialized value in
readline()ingetpart.c. Detected by gcc 4.4.0-O2(Windows CE) jobs:Ref: https://github.com/curl/curl/actions/runs/13522595237/job/37785147505?pr=16476#step:11:25
Follow-up to 592880a
vtls_scache: rework returning pointer to avoid compiler warning seen
with
-O3gcc 4.4.0 builds (Windows CE/schannel):Ref: https://github.com/curl/curl/actions/runs/13523868335/job/37789610845#step:9:25
Follow-up to fa0ccd9 TLS session ticket caching reworked #15774