develooper Front page | perl.perl5.porters | Postings from April 2020

Recent commit breaks quadmath support on Cygwin

Thread Next
From:
Peter John Acklam
Date:
April 10, 2020 16:49
Subject:
Recent commit breaks quadmath support on Cygwin
Message ID:
CAEvoY42jkcHDSSE5-vbUxkVsP+D_H3MQWv9x=wq3zV0z9BiE-A@mail.gmail.com
Hi everyone,

Because of a recent commit, I am no longer able to build Perl with
quadmath support on Cygwin. Version 5.31.9 builds just fine, so after a
"git bisect", I found the bad commit. I have little idea about what
it does, so I have no idea why it causes "make" to fail, but anyway,
here is the bad commit:

    be8790133a0ce8fc67454e55e7849a47a0858d32 Allow more debugging in
re_comp.c

Below is the end of the output from "make":

cp ../../dquote.c dquote.c
gcc -c   -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE -fwrapv
-fno-strict-aliasing -pipe -I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall
-Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings
-Werror=declaration-after-statement -Wno-format -DUSEIMPORTLIB -O3
-DVERSION=\"0.38\" -DXS_VERSION=\"0.38\"  "-I../.."  -DPERL_EXT_RE_BUILD
-DPERL_EXT_RE_DEBUG -DPERL_EXT re_comp.c
"../../miniperl.exe" "-I../../lib" "../../lib/ExtUtils/xsubpp"
-noprototypes -typemap '/cygdrive/c/share/repos/public/
github.com/Perl/20200302T184521Z-be8790133a/src/ext/re/../../lib/ExtUtils/typemap'
 re.xs > re.xsc
mv re.xsc re.c
gcc -c   -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE -fwrapv
-fno-strict-aliasing -pipe -I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall
-Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings
-Werror=declaration-after-statement -Wno-format -DUSEIMPORTLIB -O3
-DVERSION=\"0.38\" -DXS_VERSION=\"0.38\"  "-I../.."  -DPERL_EXT_RE_BUILD
-DPERL_EXT_RE_DEBUG -DPERL_EXT re.c
rm -f ../../lib/auto/re/re.dll
g++  --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,--enable-auto-image-base -L/usr/local/lib  re_exec.o re_comp.o re.o  -o
../../lib/auto/re/re.dll  \
  ../../cygperl5_31_10.dll    \

/usr/bin/ld: re_comp.o:re_comp.c:(.text+0x2d9e4): undefined reference to
`ceilq'
re_comp.o:re_comp.c:(.text+0x2d9e4): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `ceilq'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:479: ../../lib/auto/re/re.dll] Error 1
make[1]: Leaving directory '/cygdrive/c/share/repos/public/
github.com/Perl/20200302T184521Z-be8790133a/src/ext/re'
make[1]: Entering directory '/cygdrive/c/share/repos/public/
github.com/Perl/20200302T184521Z-be8790133a/src/ext/re'
/cygdrive/c/share/repos/public/
github.com/Perl/20200302T184521Z-be8790133a/src/ext/re/../../miniperl.exe
"-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- re.bs
../../lib/auto/re/re.bs 644
rm -f ../../lib/auto/re/re.dll
g++  --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,--enable-auto-image-base -L/usr/local/lib  re_exec.o re_comp.o re.o  -o
../../lib/auto/re/re.dll  \
  ../../cygperl5_31_10.dll    \

/usr/bin/ld: re_comp.o:re_comp.c:(.text+0x2d9e4): undefined reference to
`ceilq'
re_comp.o:re_comp.c:(.text+0x2d9e4): relocation truncated to fit:
R_X86_64_PC32 against undefined symbol `ceilq'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:479: ../../lib/auto/re/re.dll] Error 1
make[1]: Leaving directory '/cygdrive/c/share/repos/public/
github.com/Perl/20200302T184521Z-be8790133a/src/ext/re'
Unsuccessful make(ext/re): code=512 at make_ext.pl line 587.
make: *** [GNUmakefile:579: lib/auto/re/re.dll] Error 2

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About