[ 
https://issues.apache.org/jira/browse/DISPATCH-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036540#comment-17036540
 ] 

ASF GitHub Bot commented on DISPATCH-1567:
------------------------------------------

kgiusti commented on pull request #685: DISPATCH-1567: fix compilation errors 
on s390x platform
URL: https://github.com/apache/qpid-dispatch/pull/685
 
 
   Work in progress - do not merge yet!
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Compilation errors on s390x platform
> ------------------------------------
>
>                 Key: DISPATCH-1567
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1567
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Container
>    Affects Versions: 1.10.0
>            Reporter: Ganesh Murthy
>            Assignee: Ken Giusti
>            Priority: Major
>
> {noformat}
>  [ 21%] Building C object src/CMakeFiles/qpid-dispatch.dir/parse_tree.c.o
> cd /builddir/build/BUILD/qpid-dispatch-1.10.0/src && /usr/bin/cc 
> -Dqpid_dispatch_EXPORTS -I/builddir/build/BUILD/qpid-dispatch-1.10.0/include 
> -I/usr/include/python3.8 -I/builddir/build/BUILD/qpid-dispatch-1.10.0/src 
> -I/builddir/build/BUILD/qpid-dispatch-1.10.0/src/router_core  -O2 -g -pipe 
> -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
> -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong 
> -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
> -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 
> -fasynchronous-unwind-tables -fstack-clash-protection 
> -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-stringop-overflow -O2 
> -g -DNDEBUG -fPIC   -Werror -Wall -Wpedantic -std=gnu99 -o 
> CMakeFiles/qpid-dispatch.dir/parse_tree.c.o   -c 
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c: In function 
> 'normalize_pattern.part.0.isra':
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:88:16: error: 
> 't.separators' may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    88 |         tend = strpbrk(t->token.begin, t->separators);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:142:22: note: 
> 't.separators' was declared here
>   142 |     token_iterator_t t;
>       |                      ^
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:169:43: error: 
> 't.match_1' may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>   169 |                 *(char *)last_token.begin = t.match_1;
>       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c: In function 
> 'parse_node_add_pattern':
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:74:24: error: 
> 'tmp.separators' may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    74 |     const char *tend = strpbrk(str, t->separators);
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:240:30: note: 
> 'tmp.separators' was declared here
>   240 |             token_iterator_t tmp;
>       |                              ^~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:120:37: error: 
> 'tmp.match_1' may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>   120 |     return TOKEN_LEN(t->token) == 1 &&
>       |                                     ^
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:240:30: note: 
> 'tmp.match_1' was declared here
>   240 |             token_iterator_t tmp;
>       |                              ^~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:74:24: error: 
> 'tmp.separators' may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    74 |     const char *tend = strpbrk(str, t->separators);
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:240:30: note: 
> 'tmp.separators' was declared here
>   240 |             token_iterator_t tmp;
>       |                              ^~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:120:37: error: 
> 'tmp.match_1' may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>   120 |     return TOKEN_LEN(t->token) == 1 &&
>       |                                     ^
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:240:30: note: 
> 'tmp.match_1' was declared here
>   240 |             token_iterator_t tmp;
>       |                              ^~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:74:24: error: 
> 'tmp.separators' may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>    74 |     const char *tend = strpbrk(str, t->separators);
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:240:30: note: 
> 'tmp.separators' was declared here
>   240 |             token_iterator_t tmp;
>       |                              ^~~
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:120:37: error: 
> 'tmp.match_1' may be used uninitialized in this function 
> [-Werror=maybe-uninitialized]
>   120 |     return TOKEN_LEN(t->token) == 1 &&
>       |                                     ^
> /builddir/build/BUILD/qpid-dispatch-1.10.0/src/parse_tree.c:240:30: note: 
> 'tmp.match_1' was declared here
>   240 |             token_iterator_t tmp;
>       |                              ^~~
> cc1: all warnings being treated as errors
> make[2]: *** [src/CMakeFiles/qpid-dispatch.dir/build.make:318: 
> src/CMakeFiles/qpid-dispatch.dir/parse_tree.c.o] Error 1
> make[2]: Leaving directory '/builddir/build/BUILD/qpid-dispatch-1.10.0'
> make[1]: Leaving directory '/builddir/build/BUILD/qpid-dispatch-1.10.0'
> make[1]: *** [CMakeFiles/Makefile2:1034: 
> src/CMakeFiles/qpid-dispatch.dir/all] Error 2
> make: *** [Makefile:144: all] Error 2{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to