Message ID | 317ae98daf0eec49ffb297a5fc59b3738366af6d.1374011243.git.ydroneaud@opteya.com (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
Thanks - I pulled in these patches, but see below: > diff --git a/autogen.sh b/autogen.sh > index f433312..6c9233e 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -1,9 +1,4 @@ > #! /bin/sh > > set -x > -test -d ./config || mkdir ./config Without the above line, the build fails. I added it back in. If there's some other way of ensuring that this directory exists, please let me know. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi, Le 17.07.2013 06:22, Hefty, Sean a écrit : > Thanks - I pulled in these patches, but see below: > Thanks. >> diff --git a/autogen.sh b/autogen.sh >> index f433312..6c9233e 100755 >> --- a/autogen.sh >> +++ b/autogen.sh >> @@ -1,9 +1,4 @@ >> #! /bin/sh >> >> set -x >> -test -d ./config || mkdir ./config > > Without the above line, the build fails. I added it back in. If > there's some other way of ensuring that this directory exists, please > let me know. > Sorry for the inconvenience. I've checked libibverbs: it has a .gitignore in ./config so that git kept the empty directory. It's a different solution for the same problem, I'm not able to say if it's a better one. Regards.
On 17/07/2013 07:22, Hefty, Sean wrote:
> Thanks - I pulled in these patches, but see below:
Hi Sean,
If you do this house cleanup, could you also address the below build
warnings. I can see them
when I build rpm from the 1.0.17 tar ball, but not when doing plain make
on the latest git, probably
b/c the build through the spec uses some more build/warnings flags.
Or.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating librdmacm.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j2
make all-am
make[1]: Entering directory `/usr/src/redhat/BUILD/librdmacm-1.0.17'
CC src_librdmacm_la-cma.lo
CC src_librdmacm_la-addrinfo.lo
src/addrinfo.c: In function 'ucma_convert_to_rai':
src/addrinfo.c:193: warning: dereferencing type-punned pointer will
break strict-aliasing rules
src/addrinfo.c:210: warning: dereferencing type-punned pointer will
break strict-aliasing rules
CC src_librdmacm_la-acm.lo
CC src_librdmacm_la-rsocket.lo
src/rsocket.c: In function 'rs_modify_svcs':
src/rsocket.c:403: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
src/rsocket.c:404: warning: ignoring return value of 'read', declared
with attribute warn_unused_result
src/rsocket.c: In function 'rs_configure':
src/rsocket.c:460: warning: ignoring return value of 'fscanf', declared
with attribute warn_unused_result
src/rsocket.c:465: warning: ignoring return value of 'fscanf', declared
with attribute warn_unused_result
src/rsocket.c:473: warning: ignoring return value of 'fscanf', declared
with attribute warn_unused_result
src/rsocket.c:478: warning: ignoring return value of 'fscanf', declared
with attribute warn_unused_result
src/rsocket.c:483: warning: ignoring return value of 'fscanf', declared
with attribute warn_unused_result
src/rsocket.c:491: warning: ignoring return value of 'fscanf', declared
with attribute warn_unused_result
src/rsocket.c:498: warning: ignoring return value of 'fscanf', declared
with attribute warn_unused_result
src/rsocket.c: In function 'rs_svc_process_sock':
src/rsocket.c:3623: warning: ignoring return value of 'read', declared
with attribute warn_unused_result
src/rsocket.c:3632: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
src/rsocket.c: In function 'rs_svc_run':
src/rsocket.c:3805: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
src/rsocket.c: In function 'ds_get_dest':
src/rsocket.c:1451: warning: 'qp' may be used uninitialized in this function
src/rsocket.c: In function 'rs_send_iomaps':
src/rsocket.c:2305: warning: 'ret' may be used uninitialized in this
function
CC src_librdmacm_la-indexer.lo
CC src_librspreload_la-preload.lo
src/preload.c: In function 'dup2':
src/preload.c:1020: warning: value computed is not used
CC src_librspreload_la-indexer.lo
CC cmatose.o
CC common.o
CC rping.o
CC udaddy.o
CC mckey.o
CC rdma_client.o
CC rdma_server.o
CC rdma_xclient.o
CC rdma_xserver.o
CC rstream.o
CC rcopy.o
CC riostream.o
CC udpong.o
CCLD src/librdmacm.la
CCLD src/librspreload.la
CCLD examples/ucmatose
CCLD examples/rping
CCLD examples/udaddy
CCLD examples/mckey
CCLD examples/rdma_client
CCLD examples/rdma_server
CCLD examples/rdma_xclient
CCLD examples/rdma_xserver
CCLD examples/rstream
CCLD examples/rcopy
CCLD examples/riostream
CCLD examples/udpong
make[1]: Leaving directory `/usr/src/redhat/BUILD/librdmacm-1.0.17'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.10929
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 17/07/2013 09:58, Or Gerlitz wrote: > On 17/07/2013 07:22, Hefty, Sean wrote: >> Thanks - I pulled in these patches, but see below: > > Hi Sean, > > If you do this house cleanup, could you also address the below build > warnings. I can see them > when I build rpm from the 1.0.17 tar ball, but not when doing plain > make on the latest git, probably > b/c the build through the spec uses some more build/warnings flags. > > Hi Sean, Did you had the chance to look on cleaning these warnings too? I don't think its the one Bart was fixing, correct? Or. > > configure: creating ./config.status > config.status: creating Makefile > config.status: creating librdmacm.spec > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > + make -j2 > make all-am > make[1]: Entering directory `/usr/src/redhat/BUILD/librdmacm-1.0.17' > CC src_librdmacm_la-cma.lo > CC src_librdmacm_la-addrinfo.lo > src/addrinfo.c: In function 'ucma_convert_to_rai': > src/addrinfo.c:193: warning: dereferencing type-punned pointer will > break strict-aliasing rules > src/addrinfo.c:210: warning: dereferencing type-punned pointer will > break strict-aliasing rules > CC src_librdmacm_la-acm.lo > CC src_librdmacm_la-rsocket.lo > src/rsocket.c: In function 'rs_modify_svcs': > src/rsocket.c:403: warning: ignoring return value of 'write', declared > with attribute warn_unused_result > src/rsocket.c:404: warning: ignoring return value of 'read', declared > with attribute warn_unused_result > src/rsocket.c: In function 'rs_configure': > src/rsocket.c:460: warning: ignoring return value of 'fscanf', > declared with attribute warn_unused_result > src/rsocket.c:465: warning: ignoring return value of 'fscanf', > declared with attribute warn_unused_result > src/rsocket.c:473: warning: ignoring return value of 'fscanf', > declared with attribute warn_unused_result > src/rsocket.c:478: warning: ignoring return value of 'fscanf', > declared with attribute warn_unused_result > src/rsocket.c:483: warning: ignoring return value of 'fscanf', > declared with attribute warn_unused_result > src/rsocket.c:491: warning: ignoring return value of 'fscanf', > declared with attribute warn_unused_result > src/rsocket.c:498: warning: ignoring return value of 'fscanf', > declared with attribute warn_unused_result > src/rsocket.c: In function 'rs_svc_process_sock': > src/rsocket.c:3623: warning: ignoring return value of 'read', declared > with attribute warn_unused_result > src/rsocket.c:3632: warning: ignoring return value of 'write', > declared with attribute warn_unused_result > src/rsocket.c: In function 'rs_svc_run': > src/rsocket.c:3805: warning: ignoring return value of 'write', > declared with attribute warn_unused_result > src/rsocket.c: In function 'ds_get_dest': > src/rsocket.c:1451: warning: 'qp' may be used uninitialized in this > function > src/rsocket.c: In function 'rs_send_iomaps': > src/rsocket.c:2305: warning: 'ret' may be used uninitialized in this > function > CC src_librdmacm_la-indexer.lo > CC src_librspreload_la-preload.lo > src/preload.c: In function 'dup2': > src/preload.c:1020: warning: value computed is not used > CC src_librspreload_la-indexer.lo > CC cmatose.o > CC common.o > CC rping.o > CC udaddy.o > CC mckey.o > CC rdma_client.o > CC rdma_server.o > CC rdma_xclient.o > CC rdma_xserver.o > CC rstream.o > CC rcopy.o > CC riostream.o > CC udpong.o > CCLD src/librdmacm.la > CCLD src/librspreload.la > CCLD examples/ucmatose > CCLD examples/rping > CCLD examples/udaddy > CCLD examples/mckey > CCLD examples/rdma_client > CCLD examples/rdma_server > CCLD examples/rdma_xclient > CCLD examples/rdma_xserver > CCLD examples/rstream > CCLD examples/rcopy > CCLD examples/riostream > CCLD examples/udpong > make[1]: Leaving directory `/usr/src/redhat/BUILD/librdmacm-1.0.17' > + exit 0 > Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.10929 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> Did you had the chance to look on cleaning these warnings too? I don't > think its the one Bart was fixing, correct? I have not. I saved your email, but have not had time to try fixing the warnings. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/autogen.sh b/autogen.sh index f433312..6c9233e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,9 +1,4 @@ #! /bin/sh set -x -test -d ./config || mkdir ./config -aclocal -I config -libtoolize --force --copy -autoheader -automake --foreign --add-missing --copy -autoconf +autoreconf -ifv -I config