<style>* {
font-size: 13px;
font-family: 'MS Pゴシック', sans-serif;
}
p, ul, ol, blockquote {
margin: 0;
}
a {
color: #0064c8;
text-decoration: none;
}
a:hover {
color: #0057af;
text-decoration: underline;
}
a:active {
color: #004c98;
}
</style><p><br></p><p>Hi, everyone.</p><p><br></p><p>I build LibreOffice from source on Windows 11 (22H2) and it failed to build libgpg-error.</p><p>However, if the version of libgpg-error to be built is 1.44 or 1.45, the following error didn't occur and the build succeeded.</p><p><br></p><p>(In build.log)</p><p>---- begin compiler messages -------</p><p>***</p><p>*** Please note that your compiler does not support the GCC style</p><p>*** aligned attribute. Using this software may evoke bus errors.</p><p>***</p><p>Making all in m4</p><p>Making all in src</p><p>mkheader.c</p><p>mkerrcodes.c</p><p>./gpg-error.h.in:508: note: including './syscfg/lock-obj-pub.mingw32.h'</p><p>strsource-sym.c</p><p>strerror-sym.c</p><p>gpg-error.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c w32-gettext.c -o libgpg_error_la-w32-gettext.obj</p><p>w32-gettext.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c w32-lock.c -o libgpg_error_la-w32-lock.obj</p><p>w32-lock.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c w32-thread.c -o libgpg_error_la-w32-thread.obj</p><p>w32-thread.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c w32-iconv.c -o libgpg_error_la-w32-iconv.obj</p><p>w32-iconv.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c w32-estream.c -o libgpg_error_la-w32-estream.obj</p><p>w32-estream.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c w32-reg.c -o libgpg_error_la-w32-reg.obj</p><p>w32-reg.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c spawn-w32.c -o libgpg_error_la-spawn-w32.obj</p><p>spawn-w32.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c init.c -o libgpg_error_la-init.obj</p><p>init.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c version.c -o libgpg_error_la-version.obj</p><p>version.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c estream.c -o libgpg_error_la-estream.obj</p><p>estream.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c estream-printf.c -o libgpg_error_la-estream-printf.obj</p><p>estream-printf.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c strsource.c -o libgpg_error_la-strsource.obj</p><p>strsource.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c strerror.c -o libgpg_error_la-strerror.obj</p><p>strerror.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c code-to-errno.c -o libgpg_error_la-code-to-errno.obj</p><p>code-to-errno.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c code-from-errno.c -o libgpg_error_la-code-from-errno.obj</p><p>code-from-errno.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c visibility.c -o libgpg_error_la-visibility.obj</p><p>visibility.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c sysutils.c -o libgpg_error_la-sysutils.obj</p><p>sysutils.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c stringutils.c -o libgpg_error_la-stringutils.obj</p><p>stringutils.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c syscall-clamp.c -o libgpg_error_la-syscall-clamp.obj</p><p>syscall-clamp.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c logging.c -o libgpg_error_la-logging.obj</p><p>logging.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c b64dec.c -o libgpg_error_la-b64dec.obj</p><p>b64dec.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c b64enc.c -o libgpg_error_la-b64enc.obj</p><p>b64enc.c</p><p>libtool: compile: C:/sources/core/workdir/LinkTarget/Executable/gcc-wrapper.exe -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -g -c argparse.c -o libgpg_error_la-argparse.obj</p><p>argparse.c</p><p>Xlocale" -i versioninfo.rc -o versioninfo.lo</p><p>libtool: compile: warning: libobj name `locale" -i versioninfo.rc -o versioninfo.lo' may not contain shell special characters.</p><p>rm: unknown option -- o</p><p>Try 'rm --help' for more information.</p><p>libtool: compile: windres -O COFF --target=pe-x86-64 --preprocessor=C:/sources/core/workdir/LinkTarget/Executable/cpp.exe --preprocessor-arg=-+ -DRC_INVOKED -DWINAPI_FAMILY=0 "-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.22621.0/ucrt" "-IC:/PROGRA~2/WI3CF2~1/10/include" "-IC:/PROGRA~1/MICROS~3/2022/COMMUN~1/VC/Tools/MSVC/1436~1.325/Include" "-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.22621.0/um" "-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.22621.0/shared" "-IC:/PROGRA~1/Java/jdk-20/include/win32" "-IC:/PROGRA~1/Java/jdk-20/include" -DHAVE_CONFIG_H -I. -I.. "-DLOCALEDIR=\\/usr/local/share/locale\" -i versioninfo.rc -o versioninfo.lo" -o locale" -i versioninfo.rc -o versioninfo.obj</p><p>../libtool: eval: line 1115: unexpected EOF while looking for matching `"'</p><p>rm: unknown option -- o</p><p>Try 'rm --help' for more information.</p><p>make[5]: *** [Makefile:1621: versioninfo.lo] Error 1</p><p>make[5]: *** Waiting for unfinished jobs....</p><p>make[4]: *** [Makefile:687: all] Error 2</p><p>make[3]: *** [Makefile:517: all-recursive] Error 1</p><p>make[2]: *** [Makefile:449: all] Error 2</p><p>---- begin compiler messages -------</p><p><br></p><p>Regards,</p><p>taichi.</p><p><br></p>