[jira] [Closed] (XERCESC-2170) How to build 32bit xerces-c project on redhat8 64 OS
[ https://issues.apache.org/jira/browse/XERCESC-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] le luo closed XERCESC-2170. --- Resolution: Fixed > How to build 32bit xerces-c project on redhat8 64 OS > - > > Key: XERCESC-2170 > URL: https://issues.apache.org/jira/browse/XERCESC-2170 > Project: Xerces-C++ > Issue Type: Wish >Reporter: le luo >Priority: Major > > Hello,Admin > As title, > I want to use xerces-c to do some test on redhat 8 OS. I can build 64 bit > xerces-c successful but can’t build 32 bit. Can you help tell me how to build > 32bit xerces-c project on redhat OS? > > Thanks your support > > Thanks -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Closed] (XERCESC-2171) Can't build 32bit xerces-c on new redhat8 64bit server
[ https://issues.apache.org/jira/browse/XERCESC-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] le luo closed XERCESC-2171. --- Resolution: Fixed > Can't build 32bit xerces-c on new redhat8 64bit server > -- > > Key: XERCESC-2171 > URL: https://issues.apache.org/jira/browse/XERCESC-2171 > Project: Xerces-C++ > Issue Type: Bug > Components: Build >Reporter: le luo >Priority: Major > Attachments: build32.log > > > Hello,Admin, > You know,Redhat upgrade to 8 in 2019.5, so we need build xerces-c 64bit > &32bit on new OS version. > 64bit build is ok but 32bit build failed. > My build env is Redhat 8 64bit server.and gcc version is below: > [root@rhel8-mcas61 xerces-c-3.1.1]# rpm -qa|grep gcc > libgcc-8.2.1-3.5.el8.i686 > gcc-gdb-plugin-8.2.1-3.5.el8.i686 > libgcc-8.2.1-3.5.el8.x86_64 > gcc-c++-8.2.1-3.5.el8.x86_64 > gcc-8.2.1-3.5.el8.x86_64 > gcc-plugin-devel-8.2.1-3.5.el8.i686 > > build error below: > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libpthread.so when > searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libpthread.a when > searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libpthread.so > when searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libpthread.a > when searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/../lib64/libpthread.so when searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/../lib64/libpthread.a when searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.so when searching for > -lstdc++{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libm.so when searching > for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libm.a when searching > for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libm.so when > searching for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libm.a when > searching for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libm.so > when searching for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libm.a > when searching for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libc.so when searching > for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libc.a when searching > for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libc.so when > searching for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libc.a when > searching for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libc.so > when searching for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libc.a > when searching for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/libgcc_s.so when searching for > -lgcc_s{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o' is incompatible > with i386 output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/8/crtbeginS.o' is incompatible with i386 > output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `.libs/stricmp.o' is incompatible with i386 output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `.libs/strnicmp.o' is incompatible with i386 output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/8/crtendS.o' is incompatible with i386 > output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o' is incompatible > with i386 output{color} > {color:#00}collect2: error: ld returned 1 exit status{color} > {color:#00}make[4]: *** [Makefile:3471: libxerces-c.la] Error 1{color} > {color:#00}make[3]: *** [Makefile:4563: all-recursive] Error 1{color} > {color:#00}make[2]: *** [Makefile:2403: all] Error 2{color} > {color:#00}make[1]: *** [Makefile:409: all-recursive] Error 1{color} >
[jira] [Commented] (XERCESC-2171) Can't build 32bit xerces-c on new redhat8 64bit server
[ https://issues.apache.org/jira/browse/XERCESC-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16883423#comment-16883423 ] le luo commented on XERCESC-2171: - sorry ,my mistake, after change configure command to ./configure –prefix=/opt/xerces-c/xerces-c-3.1.1/install32 CC=gcc CXX=g++ CFLAGS=-m32 CXXFLAGS=-m32 the 32bit build is ok now. Thanks > Can't build 32bit xerces-c on new redhat8 64bit server > -- > > Key: XERCESC-2171 > URL: https://issues.apache.org/jira/browse/XERCESC-2171 > Project: Xerces-C++ > Issue Type: Bug > Components: Build >Reporter: le luo >Priority: Major > Attachments: build32.log > > > Hello,Admin, > You know,Redhat upgrade to 8 in 2019.5, so we need build xerces-c 64bit > &32bit on new OS version. > 64bit build is ok but 32bit build failed. > My build env is Redhat 8 64bit server.and gcc version is below: > [root@rhel8-mcas61 xerces-c-3.1.1]# rpm -qa|grep gcc > libgcc-8.2.1-3.5.el8.i686 > gcc-gdb-plugin-8.2.1-3.5.el8.i686 > libgcc-8.2.1-3.5.el8.x86_64 > gcc-c++-8.2.1-3.5.el8.x86_64 > gcc-8.2.1-3.5.el8.x86_64 > gcc-plugin-devel-8.2.1-3.5.el8.i686 > > build error below: > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libpthread.so when > searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libpthread.a when > searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libpthread.so > when searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libpthread.a > when searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/../lib64/libpthread.so when searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/../lib64/libpthread.a when searching for -lpthread{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.so when searching for > -lstdc++{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libm.so when searching > for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libm.a when searching > for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libm.so when > searching for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libm.a when > searching for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libm.so > when searching for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libm.a > when searching for -lm{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libc.so when searching > for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libc.a when searching > for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libc.so when > searching for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libc.a when > searching for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libc.so > when searching for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libc.a > when searching for -lc{color} > {color:#00}/usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/8/libgcc_s.so when searching for > -lgcc_s{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o' is incompatible > with i386 output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/8/crtbeginS.o' is incompatible with i386 > output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `.libs/stricmp.o' is incompatible with i386 output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `.libs/strnicmp.o' is incompatible with i386 output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/8/crtendS.o' is incompatible with i386 > output{color} > {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file > `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o' is incompatible > with i386 output{color} > {color:#00}collect2: error: ld returned 1 exit status{color} > {color:#00}make[4]: *** [Makefile:3471: libxerces-c.la] Error 1{color} >
[jira] [Created] (XERCESC-2171) Can't build 32bit xerces-c on new redhat8 64bit server
le luo created XERCESC-2171: --- Summary: Can't build 32bit xerces-c on new redhat8 64bit server Key: XERCESC-2171 URL: https://issues.apache.org/jira/browse/XERCESC-2171 Project: Xerces-C++ Issue Type: Bug Components: Build Reporter: le luo Attachments: build32.log Hello,Admin, You know,Redhat upgrade to 8 in 2019.5, so we need build xerces-c 64bit &32bit on new OS version. 64bit build is ok but 32bit build failed. My build env is Redhat 8 64bit server.and gcc version is below: [root@rhel8-mcas61 xerces-c-3.1.1]# rpm -qa|grep gcc libgcc-8.2.1-3.5.el8.i686 gcc-gdb-plugin-8.2.1-3.5.el8.i686 libgcc-8.2.1-3.5.el8.x86_64 gcc-c++-8.2.1-3.5.el8.x86_64 gcc-8.2.1-3.5.el8.x86_64 gcc-plugin-devel-8.2.1-3.5.el8.i686 build error below: {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libpthread.so when searching for -lpthread{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libpthread.a when searching for -lpthread{color} {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libpthread.so when searching for -lpthread{color} {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libpthread.a when searching for -lpthread{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libpthread.so when searching for -lpthread{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libpthread.a when searching for -lpthread{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.so when searching for -lstdc++{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libm.so when searching for -lm{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libm.a when searching for -lm{color} {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libm.so when searching for -lm{color} {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libm.a when searching for -lm{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libm.so when searching for -lm{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libm.a when searching for -lm{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libc.so when searching for -lc{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libc.a when searching for -lc{color} {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libc.so when searching for -lc{color} {color:#00}/usr/bin/ld: skipping incompatible /lib/../lib64/libc.a when searching for -lc{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libc.so when searching for -lc{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libc.a when searching for -lc{color} {color:#00}/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/libgcc_s.so when searching for -lgcc_s{color} {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o' is incompatible with i386 output{color} {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-redhat-linux/8/crtbeginS.o' is incompatible with i386 output{color} {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file `.libs/stricmp.o' is incompatible with i386 output{color} {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file `.libs/strnicmp.o' is incompatible with i386 output{color} {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-redhat-linux/8/crtendS.o' is incompatible with i386 output{color} {color:#00}/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o' is incompatible with i386 output{color} {color:#00}collect2: error: ld returned 1 exit status{color} {color:#00}make[4]: *** [Makefile:3471: libxerces-c.la] Error 1{color} {color:#00}make[3]: *** [Makefile:4563: all-recursive] Error 1{color} {color:#00}make[2]: *** [Makefile:2403: all] Error 2{color} {color:#00}make[1]: *** [Makefile:409: all-recursive] Error 1{color} {color:#00}make: *** [Makefile:304: all] Error 2{color} {color:#00} {color} {color:#00}my build procedure is :{color} {color:#00}build xerces-c procedure:{color} {color:#00} {color} {color:#00}on redhat8 server (rhel8-mcas61){color} {color:#00} {color} {color:#00}mkdir /opt/xerces-c/xerces-c-3.1.1{color} {color:#00}
[jira] [Commented] (XERCESC-2170) How to build 32bit xerces-c project on redhat8 64 OS
[ https://issues.apache.org/jira/browse/XERCESC-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16883381#comment-16883381 ] le luo commented on XERCESC-2170: - Hello,Roger Thanks your help. I use `{color:#00}./configure –prefix=/opt/xerces-c/xerces-c-3.1.1/install32 CC=gcc CXX=g++ CFLAGS=-O3 CXXFLAGS=-m32 ` command to build it. seems it works well.{color} {color:#00} Thanks{color} > How to build 32bit xerces-c project on redhat8 64 OS > - > > Key: XERCESC-2170 > URL: https://issues.apache.org/jira/browse/XERCESC-2170 > Project: Xerces-C++ > Issue Type: Wish >Reporter: le luo >Priority: Major > > Hello,Admin > As title, > I want to use xerces-c to do some test on redhat 8 OS. I can build 64 bit > xerces-c successful but can’t build 32 bit. Can you help tell me how to build > 32bit xerces-c project on redhat OS? > > Thanks your support > > Thanks -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Commented] (XERCESC-2170) How to build 32bit xerces-c project on redhat8 64 OS
[ https://issues.apache.org/jira/browse/XERCESC-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16883267#comment-16883267 ] Roger Leigh commented on XERCESC-2170: -- Search for "redhat gcc 32-bit compile" and you'll find a number of suggestions about what to do. All the library dependencies will need to be available as 32-bit versions, and you'll need to use "-m32" or equivalent in CXXFLAGS to build as 32-bit. > How to build 32bit xerces-c project on redhat8 64 OS > - > > Key: XERCESC-2170 > URL: https://issues.apache.org/jira/browse/XERCESC-2170 > Project: Xerces-C++ > Issue Type: Wish >Reporter: le luo >Priority: Major > > Hello,Admin > As title, > I want to use xerces-c to do some test on redhat 8 OS. I can build 64 bit > xerces-c successful but can’t build 32 bit. Can you help tell me how to build > 32bit xerces-c project on redhat OS? > > Thanks your support > > Thanks -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Commented] (XERCESC-2170) How to build 32bit xerces-c project on redhat8 64 OS
[ https://issues.apache.org/jira/browse/XERCESC-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16882742#comment-16882742 ] le luo commented on XERCESC-2170: - note : I use xerces-c-3.1.1 version to do it. Thansk > How to build 32bit xerces-c project on redhat8 64 OS > - > > Key: XERCESC-2170 > URL: https://issues.apache.org/jira/browse/XERCESC-2170 > Project: Xerces-C++ > Issue Type: Wish >Reporter: le luo >Priority: Major > > Hello,Admin > As title, > I want to use xerces-c to do some test on redhat 8 OS. I can build 64 bit > xerces-c successful but can’t build 32 bit. Can you help tell me how to build > 32bit xerces-c project on redhat OS? > > Thanks your support > > Thanks -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Created] (XERCESC-2170) How to build 32bit xerces-c project on redhat8 64 OS
le luo created XERCESC-2170: --- Summary: How to build 32bit xerces-c project on redhat8 64 OS Key: XERCESC-2170 URL: https://issues.apache.org/jira/browse/XERCESC-2170 Project: Xerces-C++ Issue Type: Wish Reporter: le luo Hello,Admin As title, I want to use xerces-c to do some test on redhat 8 OS. I can build 64 bit xerces-c successful but can’t build 32 bit. Can you help tell me how to build 32bit xerces-c project on redhat OS? Thanks your support Thanks -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org