Open p5pRT opened 7 years ago
A static build with the library gdbm (with gettext support)\, causes the following linking error:
/home/dev/checkout/BR/build/perl-static/host/usr/bin/arm-linux-gcc -static -lm -Wl\,-E -o perl perlmain.o libperl.a lib/auto/B/B.a lib/auto/Devel/Peek/Peek.a lib/auto/Fcntl/Fcntl.a lib/auto/File/DosGlob/DosGlob.a lib/auto/File/Glob/Glob.a lib/auto/GDBM_File/GDBM_File.a lib/auto/Hash/Util/Util.a lib/auto/Hash/Util/FieldHash/FieldHash.a lib/auto/I18N/Langinfo/Langinfo.a lib/auto/Opcode/Opcode.a lib/auto/POSIX/POSIX.a lib/auto/PerlIO/encoding/encoding.a lib/auto/PerlIO/mmap/mmap.a lib/auto/PerlIO/scalar/scalar.a lib/auto/PerlIO/via/via.a lib/auto/SDBM_File/SDBM_File.a lib/auto/Sys/Hostname/Hostname.a lib/auto/Tie/Hash/NamedCapture/NamedCapture.a lib/auto/arybase/arybase.a lib/auto/attributes/attributes.a lib/auto/mro/mro.a lib/auto/re/re.a lib/auto/Compress/Raw/Bzip2/Bzip2.a lib/auto/Compress/Raw/Zlib/Zlib.a lib/auto/Devel/PPPort/PPPort.a lib/auto/Digest/MD5/MD5.a lib/auto/Digest/SHA/SHA.a lib/auto/Encode/Encode.a lib/auto/Filter/Util/Call/Call.a lib/auto/IPC/SysV/SysV.a lib/auto/MIME/Base64/Base64.a lib/auto/Math/BigInt/FastCalc/FastCalc.a lib/auto/List/Util/Util.a lib/auto/Socket/Socket.a lib/auto/Sys/Syslog/Syslog.a lib/auto/Time/Piece/Piece.a lib/auto/Unicode/Collate/Collate.a lib/auto/Unicode/Normalize/Normalize.a lib/auto/Data/Dumper/Dumper.a lib/auto/IO/IO.a lib/auto/Cwd/Cwd.a lib/auto/Storable/Storable.a lib/auto/Time/HiRes/HiRes.a lib/auto/threads/threads.a lib/auto/threads/shared/shared.a -lm -lcrypt -lgdbm -lm -lrt -lpthread /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmerrno.o): In function `gdbm_strerror': gdbmerrno.c:(.text+0x14): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmfetch.o): In function `gdbm_fetch': gdbmfetch.c:(.text+0x84): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmseq.o): In function `get_next_key': gdbmseq.c:(.text+0xc8): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmstore.o): In function `gdbm_store': gdbmstore.c:(.text+0x168): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o): In function `_gdbm_write_bucket': bucket.c:(.text+0x150): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o):bucket.c:(.text+0x1ec): more undefined references to `libintl_dgettext' follow collect2: error: ld returned 1 exit status
add patch
add patch
On Mon\, 23 Jan 2017 10:21:17 GMT\, fperrad wrote:
This is a bug report for perl from francois.perrad@gadz.org\, generated with the help of perlbug 1.40 running under perl 5.24.1.
----------------------------------------------------------------- [Please describe your issue here]
A static build with the library gdbm (with gettext support)\, causes the following linking error:
/home/dev/checkout/BR/build/perl-static/host/usr/bin/arm-linux-gcc -static -lm -Wl\,-E -o perl perlmain.o libperl.a lib/auto/B/B.a lib/auto/Devel/Peek/Peek.a lib/auto/Fcntl/Fcntl.a lib/auto/File/DosGlob/DosGlob.a lib/auto/File/Glob/Glob.a lib/auto/GDBM_File/GDBM_File.a lib/auto/Hash/Util/Util.a lib/auto/Hash/Util/FieldHash/FieldHash.a lib/auto/I18N/Langinfo/Langinfo.a lib/auto/Opcode/Opcode.a lib/auto/POSIX/POSIX.a lib/auto/PerlIO/encoding/encoding.a lib/auto/PerlIO/mmap/mmap.a lib/auto/PerlIO/scalar/scalar.a lib/auto/PerlIO/via/via.a lib/auto/SDBM_File/SDBM_File.a lib/auto/Sys/Hostname/Hostname.a lib/auto/Tie/Hash/NamedCapture/NamedCapture.a lib/auto/arybase/arybase.a lib/auto/attributes/attributes.a lib/auto/mro/mro.a lib/auto/re/re.a lib/auto/Compress/Raw/Bzip2/Bzip2.a lib/auto/Compress/Raw/Zlib/Zlib.a lib/auto/Devel/PPPort/PPPort.a lib/auto/Digest/MD5/MD5.a lib/auto/Digest/SHA/SHA.a lib/auto/Encode/Encode.a lib/auto/Filter/Util/Call/Call.a lib/auto/IPC/SysV/SysV.a lib/auto/MIME/Base64/Base64.a lib/auto/Math/BigInt/FastCalc/FastCalc.a lib/auto/List/Util/Util.a lib/auto/Socket/Socket.a lib/auto/Sys/Syslog/Syslog.a lib/auto/Time/Piece/Piece.a lib/auto/Unicode/Collate/Collate.a lib/auto/Unicode/Normalize/Normalize.a lib/auto/Data/Dumper/Dumper.a lib/auto/IO/IO.a lib/auto/Cwd/Cwd.a lib/auto/Storable/Storable.a lib/auto/Time/HiRes/HiRes.a lib/auto/threads/threads.a lib/auto/threads/shared/shared.a -lm -lcrypt -lgdbm -lm -lrt -lpthread /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmerrno.o): In function `gdbm_strerror': gdbmerrno.c:(.text+0x14): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmfetch.o): In function `gdbm_fetch': gdbmfetch.c:(.text+0x84): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmseq.o): In function `get_next_key': gdbmseq.c:(.text+0xc8): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmstore.o): In function `gdbm_store': gdbmstore.c:(.text+0x168): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o): In function `_gdbm_write_bucket': bucket.c:(.text+0x150): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o):bucket.c:(.text+0x1ec): more undefined references to `libintl_dgettext' follow collect2: error: ld returned 1 exit status
What would be the command-line options to ./Configure that I would use to reproduce this problem?
Thank you very much.
-- James E Keenan (jkeenan@cpan.org)
The RT System itself - Status changed from 'new' to 'open'
On Mon\, 23 Jan 2017 04:06:05 -0800\, "James E Keenan via RT" \perlbug\-followup@​perl\.org wrote:
On Mon\, 23 Jan 2017 10:21:17 GMT\, fperrad wrote:
This is a bug report for perl from francois.perrad@gadz.org\, generated with the help of perlbug 1.40 running under perl 5.24.1.
----------------------------------------------------------------- [Please describe your issue here]
A static build with the library gdbm (with gettext support)\, causes the following linking error:
/home/dev/checkout/BR/build/perl-static/host/usr/bin/arm-linux-gcc -static -lm -Wl\,-E -o perl perlmain.o libperl.a lib/auto/B/B.a lib/auto/Devel/Peek/Peek.a lib/auto/Fcntl/Fcntl.a lib/auto/File/DosGlob/DosGlob.a lib/auto/File/Glob/Glob.a lib/auto/GDBM_File/GDBM_File.a lib/auto/Hash/Util/Util.a lib/auto/Hash/Util/FieldHash/FieldHash.a lib/auto/I18N/Langinfo/Langinfo.a lib/auto/Opcode/Opcode.a lib/auto/POSIX/POSIX.a lib/auto/PerlIO/encoding/encoding.a lib/auto/PerlIO/mmap/mmap.a lib/auto/PerlIO/scalar/scalar.a lib/auto/PerlIO/via/via.a lib/auto/SDBM_File/SDBM_File.a lib/auto/Sys/Hostname/Hostname.a lib/auto/Tie/Hash/NamedCapture/NamedCapture.a lib/auto/arybase/arybase.a lib/auto/attributes/attributes.a lib/auto/mro/mro.a lib/auto/re/re.a lib/auto/Compress/Raw/Bzip2/Bzip2.a lib/auto/Compress/Raw/Zlib/Zlib.a lib/auto/Devel/PPPort/PPPort.a lib/auto/Digest/MD5/MD5.a lib/auto/Digest/SHA/SHA.a lib/auto/Encode/Encode.a lib/auto/Filter/Util/Call/Call.a lib/auto/IPC/SysV/SysV.a lib/auto/MIME/Base64/Base64.a lib/auto/Math/BigInt/FastCalc/FastCalc.a lib/auto/List/Util/Util.a lib/auto/Socket/Socket.a lib/auto/Sys/Syslog/Syslog.a lib/auto/Time/Piece/Piece.a lib/auto/Unicode/Collate/Collate.a lib/auto/Unicode/Normalize/Normalize.a lib/auto/Data/Dumper/Dumper.a lib/auto/IO/IO.a lib/auto/Cwd/Cwd.a lib/auto/Storable/Storable.a lib/auto/Time/HiRes/HiRes.a lib/auto/threads/threads.a lib/auto/threads/shared/shared.a -lm -lcrypt -lgdbm -lm -lrt -lpthread /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmerrno.o): In function `gdbm_strerror': gdbmerrno.c:(.text+0x14): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmfetch.o): In function `gdbm_fetch': gdbmfetch.c:(.text+0x84): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmseq.o): In function `get_next_key': gdbmseq.c:(.text+0xc8): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmstore.o): In function `gdbm_store': gdbmstore.c:(.text+0x168): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o): In function `_gdbm_write_bucket': bucket.c:(.text+0x150): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o):bucket.c:(.text+0x1ec): more undefined references to `libintl_dgettext' follow collect2: error: ld returned 1 exit status
What would be the command-line options to ./Configure that I would use to reproduce this problem?
Also note that not all systems that support gdbm have a (working) libintl installed. Adding -lintl without test *will* break systems.
Thank you very much.
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.25 porting perl5 on HP-UX\, AIX\, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
On Mon\, 23 Jan 2017 04:16:00 -0800\, hmbrand wrote:
On Mon\, 23 Jan 2017 04:06:05 -0800\, "James E Keenan via RT" \perlbug\-followup@​perl\.org wrote:
On Mon\, 23 Jan 2017 10:21:17 GMT\, fperrad wrote:
This is a bug report for perl from francois.perrad@gadz.org\, generated with the help of perlbug 1.40 running under perl 5.24.1.
----------------------------------------------------------------- [Please describe your issue here]
A static build with the library gdbm (with gettext support)\, causes the following linking error:
/home/dev/checkout/BR/build/perl-static/host/usr/bin/arm-linux-gcc -static -lm -Wl\,-E -o perl perlmain.o libperl.a lib/auto/B/B.a lib/auto/Devel/Peek/Peek.a lib/auto/Fcntl/Fcntl.a lib/auto/File/DosGlob/DosGlob.a lib/auto/File/Glob/Glob.a lib/auto/GDBM_File/GDBM_File.a lib/auto/Hash/Util/Util.a lib/auto/Hash/Util/FieldHash/FieldHash.a lib/auto/I18N/Langinfo/Langinfo.a lib/auto/Opcode/Opcode.a lib/auto/POSIX/POSIX.a lib/auto/PerlIO/encoding/encoding.a lib/auto/PerlIO/mmap/mmap.a lib/auto/PerlIO/scalar/scalar.a lib/auto/PerlIO/via/via.a lib/auto/SDBM_File/SDBM_File.a lib/auto/Sys/Hostname/Hostname.a lib/auto/Tie/Hash/NamedCapture/NamedCapture.a lib/auto/arybase/arybase.a lib/auto/attributes/attributes.a lib/auto/mro/mro.a lib/auto/re/re.a lib/auto/Compress/Raw/Bzip2/Bzip2.a lib/auto/Compress/Raw/Zlib/Zlib.a lib/auto/Devel/PPPort/PPPort.a lib/auto/Digest/MD5/MD5.a lib/auto/Digest/SHA/SHA.a lib/auto/Encode/Encode.a lib/auto/Filter/Util/Call/Call.a lib/auto/IPC/SysV/SysV.a lib/auto/MIME/Base64/Base64.a lib/auto/Math/BigInt/FastCalc/FastCalc.a lib/auto/List/Util/Util.a lib/auto/Socket/Socket.a lib/auto/Sys/Syslog/Syslog.a lib/auto/Time/Piece/Piece.a lib/auto/Unicode/Collate/Collate.a lib/auto/Unicode/Normalize/Normalize.a lib/auto/Data/Dumper/Dumper.a lib/auto/IO/IO.a lib/auto/Cwd/Cwd.a lib/auto/Storable/Storable.a lib/auto/Time/HiRes/HiRes.a lib/auto/threads/threads.a lib/auto/threads/shared/shared.a -lm -lcrypt -lgdbm -lm -lrt -lpthread /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot- linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmerrno.o): In function `gdbm_strerror': gdbmerrno.c:(.text+0x14): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot- linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmfetch.o): In function `gdbm_fetch': gdbmfetch.c:(.text+0x84): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot- linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmseq.o): In function `get_next_key': gdbmseq.c:(.text+0xc8): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot- linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmstore.o): In function `gdbm_store': gdbmstore.c:(.text+0x168): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot- linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o): In function `_gdbm_write_bucket': bucket.c:(.text+0x150): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot- linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o):bucket.c:(.text+0x1ec): more undefined references to `libintl_dgettext' follow collect2: error: ld returned 1 exit status
What would be the command-line options to ./Configure that I would use to reproduce this problem?
Also note that not all systems that support gdbm have a (working) libintl installed. Adding -lintl without test *will* break systems.
See http://perldoc.perl.org/ExtUtils/MakeMaker.html#LIBS So\, a first test is done with "-lgdbm -lintl"\, if this test fails\, a second test is done "-lgdbm".
Thank you very much.
On Mon\, 23 Jan 2017 04:06:04 -0800\, jkeenan wrote:
On Mon\, 23 Jan 2017 10:21:17 GMT\, fperrad wrote:
This is a bug report for perl from francois.perrad@gadz.org\, generated with the help of perlbug 1.40 running under perl 5.24.1.
----------------------------------------------------------------- [Please describe your issue here]
A static build with the library gdbm (with gettext support)\, causes the following linking error:
/home/dev/checkout/BR/build/perl-static/host/usr/bin/arm-linux-gcc -static -lm -Wl\,-E -o perl perlmain.o libperl.a lib/auto/B/B.a lib/auto/Devel/Peek/Peek.a lib/auto/Fcntl/Fcntl.a lib/auto/File/DosGlob/DosGlob.a lib/auto/File/Glob/Glob.a lib/auto/GDBM_File/GDBM_File.a lib/auto/Hash/Util/Util.a lib/auto/Hash/Util/FieldHash/FieldHash.a lib/auto/I18N/Langinfo/Langinfo.a lib/auto/Opcode/Opcode.a lib/auto/POSIX/POSIX.a lib/auto/PerlIO/encoding/encoding.a lib/auto/PerlIO/mmap/mmap.a lib/auto/PerlIO/scalar/scalar.a lib/auto/PerlIO/via/via.a lib/auto/SDBM_File/SDBM_File.a lib/auto/Sys/Hostname/Hostname.a lib/auto/Tie/Hash/NamedCapture/NamedCapture.a lib/auto/arybase/arybase.a lib/auto/attributes/attributes.a lib/auto/mro/mro.a lib/auto/re/re.a lib/auto/Compress/Raw/Bzip2/Bzip2.a lib/auto/Compress/Raw/Zlib/Zlib.a lib/auto/Devel/PPPort/PPPort.a lib/auto/Digest/MD5/MD5.a lib/auto/Digest/SHA/SHA.a lib/auto/Encode/Encode.a lib/auto/Filter/Util/Call/Call.a lib/auto/IPC/SysV/SysV.a lib/auto/MIME/Base64/Base64.a lib/auto/Math/BigInt/FastCalc/FastCalc.a lib/auto/List/Util/Util.a lib/auto/Socket/Socket.a lib/auto/Sys/Syslog/Syslog.a lib/auto/Time/Piece/Piece.a lib/auto/Unicode/Collate/Collate.a lib/auto/Unicode/Normalize/Normalize.a lib/auto/Data/Dumper/Dumper.a lib/auto/IO/IO.a lib/auto/Cwd/Cwd.a lib/auto/Storable/Storable.a lib/auto/Time/HiRes/HiRes.a lib/auto/threads/threads.a lib/auto/threads/shared/shared.a -lm -lcrypt -lgdbm -lm -lrt -lpthread /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmerrno.o): In function `gdbm_strerror': gdbmerrno.c:(.text+0x14): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmfetch.o): In function `gdbm_fetch': gdbmfetch.c:(.text+0x84): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmseq.o): In function `get_next_key': gdbmseq.c:(.text+0xc8): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(gdbmstore.o): In function `gdbm_store': gdbmstore.c:(.text+0x168): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o): In function `_gdbm_write_bucket': bucket.c:(.text+0x150): undefined reference to `libintl_dgettext' /home/dev/checkout/BR/build/perl-static/host/usr/arm-buildroot-linux- uclibcgnueabi/sysroot/usr/lib/libgdbm.a(bucket.o):bucket.c:(.text+0x1ec): more undefined references to `libintl_dgettext' follow collect2: error: ld returned 1 exit status
What would be the command-line options to ./Configure that I would use to reproduce this problem?
I cross compile perl in an Buildroot (http://buildroot.org/) environment. See full log on http://autobuild.buildroot.org/results/d1f/d1f133ca3693b6653eed4fc513effc0bbdcfd9c9/build-end.log Other occurences of this failure on http://autobuild.buildroot.org/?reason=perl-5.24.0 The configure script is not the usual one\, it comes from http://github.com/arsv/perl-cross
Thank you very much.
Migrated from rt.perl.org#130631 (status was 'open')
Searchable as RT130631$