------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=784
Summary: Compile on AIX fails
Product: PCRE
Version: 7.8
Platform: Other
OS/Version: AIX
Status: NEW
Severity: bug
Priority: medium
Component: Code
AssignedTo: ph10@???
ReportedBy: tdyboc@???
CC: pcre-dev@???
Used ./configure CC='gcc -maix64' CFLAGS='-maix64' NM='nm -X64' AR='ar -X64'
Using a 64bit kernel as shown by
lrwxrwxrwx 1 root system 21 Oct 24 10:04 /unix@ ->
/usr/lib/boot/unix_64*
AIX version is 5300-08-02-0822
What is missing? If I remove the -X64 (running the command manually) from
"generating symbol list for `libpcrecpp.la'" I get symbols but not with -X64.
How to this correct on AIX?
Configure output:
make all-am
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_compile.lo -MD -MP -MF
.deps/pcre_compile.Tpo -c -o pcre_compile.lo pcre_compile.c
mkdir .libs
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_compile.lo -MD -MP -MF
.deps/pcre_compile.Tpo -c pcre_compile.c -DPIC -o .libs/pcre_compile.o
mv -f .deps/pcre_compile.Tpo .deps/pcre_compile.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_config.lo -MD -MP -MF
.deps/pcre_config.Tpo -c -o pcre_config.lo pcre_config.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_config.lo -MD -MP -MF
.deps/pcre_config.Tpo -c pcre_config.c -DPIC -o .libs/pcre_config.o
mv -f .deps/pcre_config.Tpo .deps/pcre_config.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_dfa_exec.lo -MD -MP -MF
.deps/pcre_dfa_exec.Tpo -c -o pcre_dfa_exec.lo pcre_dfa_exec.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_dfa_exec.lo -MD -MP -MF
.deps/pcre_dfa_exec.Tpo -c pcre_dfa_exec.c -DPIC -o .libs/pcre_dfa_exec.o
mv -f .deps/pcre_dfa_exec.Tpo .deps/pcre_dfa_exec.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_exec.lo -MD -MP -MF
.deps/pcre_exec.Tpo -c -o pcre_exec.lo pcre_exec.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_exec.lo -MD -MP -MF
.deps/pcre_exec.Tpo -c pcre_exec.c -DPIC -o .libs/pcre_exec.o
mv -f .deps/pcre_exec.Tpo .deps/pcre_exec.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_fullinfo.lo -MD -MP -MF
.deps/pcre_fullinfo.Tpo -c -o pcre_fullinfo.lo pcre_fullinfo.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_fullinfo.lo -MD -MP -MF
.deps/pcre_fullinfo.Tpo -c pcre_fullinfo.c -DPIC -o .libs/pcre_fullinfo.o
mv -f .deps/pcre_fullinfo.Tpo .deps/pcre_fullinfo.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_get.lo -MD -MP -MF .deps/pcre_get.Tpo
-c -o pcre_get.lo pcre_get.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_get.lo -MD -MP -MF
.deps/pcre_get.Tpo -c pcre_get.c -DPIC -o .libs/pcre_get.o
mv -f .deps/pcre_get.Tpo .deps/pcre_get.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_globals.lo -MD -MP -MF
.deps/pcre_globals.Tpo -c -o pcre_globals.lo pcre_globals.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_globals.lo -MD -MP -MF
.deps/pcre_globals.Tpo -c pcre_globals.c -DPIC -o .libs/pcre_globals.o
mv -f .deps/pcre_globals.Tpo .deps/pcre_globals.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_info.lo -MD -MP -MF
.deps/pcre_info.Tpo -c -o pcre_info.lo pcre_info.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_info.lo -MD -MP -MF
.deps/pcre_info.Tpo -c pcre_info.c -DPIC -o .libs/pcre_info.o
mv -f .deps/pcre_info.Tpo .deps/pcre_info.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_maketables.lo -MD -MP -MF
.deps/pcre_maketables.Tpo -c -o pcre_maketables.lo pcre_maketables.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_maketables.lo -MD -MP -MF
.deps/pcre_maketables.Tpo -c pcre_maketables.c -DPIC -o
.libs/pcre_maketables.o
mv -f .deps/pcre_maketables.Tpo .deps/pcre_maketables.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_newline.lo -MD -MP -MF
.deps/pcre_newline.Tpo -c -o pcre_newline.lo pcre_newline.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_newline.lo -MD -MP -MF
.deps/pcre_newline.Tpo -c pcre_newline.c -DPIC -o .libs/pcre_newline.o
mv -f .deps/pcre_newline.Tpo .deps/pcre_newline.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_ord2utf8.lo -MD -MP -MF
.deps/pcre_ord2utf8.Tpo -c -o pcre_ord2utf8.lo pcre_ord2utf8.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_ord2utf8.lo -MD -MP -MF
.deps/pcre_ord2utf8.Tpo -c pcre_ord2utf8.c -DPIC -o .libs/pcre_ord2utf8.o
mv -f .deps/pcre_ord2utf8.Tpo .deps/pcre_ord2utf8.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_refcount.lo -MD -MP -MF
.deps/pcre_refcount.Tpo -c -o pcre_refcount.lo pcre_refcount.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_refcount.lo -MD -MP -MF
.deps/pcre_refcount.Tpo -c pcre_refcount.c -DPIC -o .libs/pcre_refcount.o
mv -f .deps/pcre_refcount.Tpo .deps/pcre_refcount.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_study.lo -MD -MP -MF
.deps/pcre_study.Tpo -c -o pcre_study.lo pcre_study.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_study.lo -MD -MP -MF
.deps/pcre_study.Tpo -c pcre_study.c -DPIC -o .libs/pcre_study.o
mv -f .deps/pcre_study.Tpo .deps/pcre_study.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_tables.lo -MD -MP -MF
.deps/pcre_tables.Tpo -c -o pcre_tables.lo pcre_tables.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_tables.lo -MD -MP -MF
.deps/pcre_tables.Tpo -c pcre_tables.c -DPIC -o .libs/pcre_tables.o
mv -f .deps/pcre_tables.Tpo .deps/pcre_tables.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_try_flipped.lo -MD -MP -MF
.deps/pcre_try_flipped.Tpo -c -o pcre_try_flipped.lo pcre_try_flipped.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_try_flipped.lo -MD -MP -MF
.deps/pcre_try_flipped.Tpo -c pcre_try_flipped.c -DPIC -o
.libs/pcre_try_flipped.o
mv -f .deps/pcre_try_flipped.Tpo .deps/pcre_try_flipped.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_ucd.lo -MD -MP -MF .deps/pcre_ucd.Tpo
-c -o pcre_ucd.lo pcre_ucd.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_ucd.lo -MD -MP -MF
.deps/pcre_ucd.Tpo -c pcre_ucd.c -DPIC -o .libs/pcre_ucd.o
mv -f .deps/pcre_ucd.Tpo .deps/pcre_ucd.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_valid_utf8.lo -MD -MP -MF
.deps/pcre_valid_utf8.Tpo -c -o pcre_valid_utf8.lo pcre_valid_utf8.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_valid_utf8.lo -MD -MP -MF
.deps/pcre_valid_utf8.Tpo -c pcre_valid_utf8.c -DPIC -o
.libs/pcre_valid_utf8.o
mv -f .deps/pcre_valid_utf8.Tpo .deps/pcre_valid_utf8.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_version.lo -MD -MP -MF
.deps/pcre_version.Tpo -c -o pcre_version.lo pcre_version.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_version.lo -MD -MP -MF
.deps/pcre_version.Tpo -c pcre_version.c -DPIC -o .libs/pcre_version.o
mv -f .deps/pcre_version.Tpo .deps/pcre_version.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_xclass.lo -MD -MP -MF
.deps/pcre_xclass.Tpo -c -o pcre_xclass.lo pcre_xclass.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_xclass.lo -MD -MP -MF
.deps/pcre_xclass.Tpo -c pcre_xclass.c -DPIC -o .libs/pcre_xclass.o
mv -f .deps/pcre_xclass.Tpo .deps/pcre_xclass.Plo
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcre_chartables.lo -MD -MP -MF
.deps/pcre_chartables.Tpo -c -o pcre_chartables.lo pcre_chartables.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcre_chartables.lo -MD -MP -MF
.deps/pcre_chartables.Tpo -c pcre_chartables.c -DPIC -o
.libs/pcre_chartables.o
mv -f .deps/pcre_chartables.Tpo .deps/pcre_chartables.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -maix64 -maix64
-version-info 0:1:0 -o libpcre.la -rpath /usr/local/lib pcre_compile.lo
pcre_config.lo pcre_dfa_exec.lo pcre_exec.lo pcre_fullinfo.lo pcre_get.lo
pcre_globals.lo pcre_info.lo pcre_maketables.lo pcre_newline.lo
pcre_ord2utf8.lo pcre_refcount.lo pcre_study.lo pcre_tables.lo
pcre_try_flipped.lo pcre_ucd.lo pcre_valid_utf8.lo pcre_version.lo
pcre_xclass.lo pcre_chartables.lo
generating symbol list for `libpcre.la'
nm -X64 -BCpg .libs/pcre_compile.o .libs/pcre_config.o .libs/pcre_dfa_exec.o
.libs/pcre_exec.o .libs/pcre_fullinfo.o .libs/pcre_get.o .libs/pcre_globals.o
.libs/pcre_info.o .libs/pcre_maketables.o .libs/pcre_newline.o
.libs/pcre_ord2utf8.o .libs/pcre_refcount.o .libs/pcre_study.o
.libs/pcre_tables.o .libs/pcre_try_flipped.o .libs/pcre_ucd.o
.libs/pcre_valid_utf8.o .libs/pcre_version.o .libs/pcre_xclass.o
.libs/pcre_chartables.o | awk '{ if ((($2 == "T") || ($2 == "D") || ($2 ==
"B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u > .libs/libpcre.exp
gcc -maix64 -shared -o .libs/libpcre.so.0 .libs/pcre_compile.o
.libs/pcre_config.o .libs/pcre_dfa_exec.o .libs/pcre_exec.o
.libs/pcre_fullinfo.o .libs/pcre_get.o .libs/pcre_globals.o .libs/pcre_info.o
.libs/pcre_maketables.o .libs/pcre_newline.o .libs/pcre_ord2utf8.o
.libs/pcre_refcount.o .libs/pcre_study.o .libs/pcre_tables.o
.libs/pcre_try_flipped.o .libs/pcre_ucd.o .libs/pcre_valid_utf8.o
.libs/pcre_version.o .libs/pcre_xclass.o .libs/pcre_chartables.o -lc
-Wl,-bnoentry -maix64 -maix64 -Wl,-bE:.libs/libpcre.exp ${wl}-berok
ar -X64 cru .libs/libpcre.a .libs/libpcre.so.0
creating libpcre.la
(cd .libs && rm -f libpcre.la && ln -s ../libpcre.la libpcre.la)
/bin/sh ./libtool --tag=CC --mode=compile gcc -maix64
-DHAVE_CONFIG_H -I. -maix64 -MT pcreposix.lo -MD -MP -MF
.deps/pcreposix.Tpo -c -o pcreposix.lo pcreposix.c
gcc -maix64 -DHAVE_CONFIG_H -I. -maix64 -MT pcreposix.lo -MD -MP -MF
.deps/pcreposix.Tpo -c pcreposix.c -DPIC -o .libs/pcreposix.o
mv -f .deps/pcreposix.Tpo .deps/pcreposix.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -maix64 -maix64
-version-info 0:0:0 -o libpcreposix.la -rpath /usr/local/lib pcreposix.lo
libpcre.la
generating symbol list for `libpcreposix.la'
nm -X64 -BCpg .libs/pcreposix.o | awk '{ if ((($2 == "T") || ($2 == "D") ||
($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u >
.libs/libpcreposix.exp
gcc -maix64 -shared -o .libs/libpcreposix.so.0 .libs/pcreposix.o
-Wl,-blibpath:/gpfs/dba/utilities/sql_regexp/pcre78/tmp/pcre-7.8/.libs:/usr/local/lib:/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/ppc64:/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2:/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../../ppc64:/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../..:/usr/lib:/lib
-L./.libs -lpcre -lc -Wl,-bnoentry -maix64 -maix64
-Wl,-bE:.libs/libpcreposix.exp ${wl}-berok
ar -X64 cru .libs/libpcreposix.a .libs/libpcreposix.so.0
creating libpcreposix.la
(cd .libs && rm -f libpcreposix.la && ln -s ../libpcreposix.la libpcreposix.la)
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c -o pcrecpp.lo pcrecpp.cc
g++ -DHAVE_CONFIG_H -I. -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c
pcrecpp.cc -DPIC -o .libs/pcrecpp.o
mv -f .deps/pcrecpp.Tpo .deps/pcrecpp.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-O2 -MT pcre_scanner.lo -MD -MP -MF .deps/pcre_scanner.Tpo -c -o
pcre_scanner.lo pcre_scanner.cc
g++ -DHAVE_CONFIG_H -I. -O2 -MT pcre_scanner.lo -MD -MP -MF
.deps/pcre_scanner.Tpo -c pcre_scanner.cc -DPIC -o .libs/pcre_scanner.o
mv -f .deps/pcre_scanner.Tpo .deps/pcre_scanner.Plo
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-O2 -MT pcre_stringpiece.lo -MD -MP -MF .deps/pcre_stringpiece.Tpo -c -o
pcre_stringpiece.lo pcre_stringpiece.cc
g++ -DHAVE_CONFIG_H -I. -O2 -MT pcre_stringpiece.lo -MD -MP -MF
.deps/pcre_stringpiece.Tpo -c pcre_stringpiece.cc -DPIC -o
.libs/pcre_stringpiece.o
mv -f .deps/pcre_stringpiece.Tpo .deps/pcre_stringpiece.Plo
/bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -version-info
0:0:0 -o libpcrecpp.la -rpath /usr/local/lib
pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo libpcre.la
generating symbol list for `libpcrecpp.la'
nm -X64 -BCpg .libs/pcrecpp.o .libs/pcre_scanner.o .libs/pcre_stringpiece.o |
awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) !=
".")) { print $3 } }' | sort -u > .libs/libpcrecpp.exp
0654-210 .libs/pcrecpp.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/pcre_scanner.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/pcre_stringpiece.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
g++ -shared -o .libs/libpcrecpp.so.0 .libs/pcrecpp.o .libs/pcre_scanner.o
.libs/pcre_stringpiece.o
-Wl,-blibpath:/gpfs/dba/utilities/sql_regexp/pcre78/tmp/pcre-7.8/.libs:/usr/local/lib/ppc64:/usr/local/lib:/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2:/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../..:/usr/lib:/lib
-L./.libs -lpcre -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/ppc64
-L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2
-L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../../ppc64
-L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../..
-L/usr/local/lib/ppc64 -lstdc++
-L/internet/po/gcc-3.3.2-obj/powerpc-ibm-aix5.2.0.0/ppc64/libstdc++-v3/src
-L/internet/po/gcc-3.3.2-obj/powerpc-ibm-aix5.2.0.0/ppc64/libstdc++-v3/src/.libs
-L/internet/po/gcc-3.3.2-obj/gcc/ppc64 -L/internet/po/gcc-3.3.2-obj/gcc
-L/usr/local/lib -lm -lc -lgcc_s_ppc64 -Wl,-bnoentry
-Wl,-bE:.libs/libpcrecpp.exp ${wl}-berok
ar -X64 cru .libs/libpcrecpp.a .libs/libpcrecpp.so.0
ar: 0707-126 .libs/libpcrecpp.so.0 is not valid with the current object file
mode.
Use the -X option to specify the desired object mode.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email