./trunk/gcc14/target-check-utils-i386-openbsd-with-buildfullnative.last-failure-txt 2025-12-03-04:10
/home/muller/bin/i386-openbsd-as /home/muller/bin/i386-openbsd-ld.bfd /home/muller/pas/fpc-3.3.1/bin/ppc386
> uname -a Linux cfarm14 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux > sha256sum: c366c9090c60ddda4dae734253f77ca3d99cef6e3b00196e02361891e6a4f88a /home/muller/bin/i386-openbsd-as > /home/muller/bin/i386-openbsd-as --version: GNU assembler 2.17 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `i386-unknown-openbsd'. > sha256sum: e4663925c88c89026f73affb9c54074ebfc6c90b235906b8d56b6749b3bd6f60 /home/muller/bin/i386-openbsd-ld.bfd > /home/muller/bin/i386-openbsd-ld.bfd --version: GNU ld version 2.17 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. > sha256sum: d053f387f33125244aaa19d232f0de024d651ffa23d5a076fcf9adaaeb3e7cf8 /home/muller/pas/fpc-3.3.1/bin/ppc386 > /home/muller/pas/fpc-3.3.1/bin/ppc386 -iVDW: 3.3.1 2025/12/03 3.3.1-18905-g47d08970f3-unpushed
Testing compilation in utils for i386-openbsd, with CROSSOPT=" -n -dOLD_ASSEMBLER -vx -Fl/home/muller/sys-root/i386-openbsd/usr/lib -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/lib -Fl/home/muller/sys-root/i386-openbsd/usr/local/lib -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/local/lib -Fl/home/muller/sys-root/i386-openbsd/usr/libexec -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/libexec -Xd" with BUILDFULLNATIVE=1 FPC=/home/muller/pas/fpc-3.3.1/bin/ppc386 BINUTILSPREFIX=i386-openbsd- (GNU assembler 2.17 using rtl/openbsd)
### /usr/bin/gmake -j 16 -r -C utils all CPU_TARGET=i386 OS_TARGET=openbsd BINUTILSPREFIX=i386-openbsd- CROSSOPT=" -n -dOLD_ASSEMBLER -vx -Fl/home/muller/sys-root/i386-openbsd/usr/lib -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/lib -Fl/home/muller/sys-root/i386-openbsd/usr/local/lib -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/local/lib -Fl/home/muller/sys-root/i386-openbsd/usr/libexec -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/libexec -Xd" FPC=/home/muller/pas/fpc-3.3.1/bin/ppc386 FPCMAKEOPT=" -gl" INSTALL_PREFIX=/home/muller/pas/fpc-3.3.1
gmake: Entering directory '/home/muller/pas/gitlab-fpc-source/utils'
./fpmake compile -T 8 --localunitdir=.. --globalunitdir=../packages --os=openbsd --cpu=i386 -o -Topenbsd -o -Pi386 -o -XPi386-openbsd- -o -Ur -o -Xs -o -O2 -o -n -o -di386 -o -dRELEASE -o -n -o -dOLD_ASSEMBLER -o -vx -o -Fl/home/muller/sys-root/i386-openbsd/usr/lib -o -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/lib -o -Fl/home/muller/sys-root/i386-openbsd/usr/local/lib -o -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/local/lib -o -Fl/home/muller/sys-root/i386-openbsd/usr/libexec -o -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/libexec -o -Xd --compiler=/home/muller/pas/fpc-3.3.1/bin/ppc386 -bu
Start compiling package utils for target i386-openbsd.
Start compiling package utils-fpcm for target i386-openbsd.
Start compiling package utils-fpcmkcfg for target i386-openbsd.
Start compiling package utils-fpcres for target i386-openbsd.
Start compiling package utils-fpcreslipo for target i386-openbsd.
Start compiling package utils-fpdoc for target i386-openbsd.
oldhashstring '2025-10-05 hash 76162a8106'
Old values 2025-10-05 76162a8106
New values
Keeping old values
revision.inc unchanged
Start compiling package utils-fppkg for target i386-openbsd.
Start compiling package utils-fprcp for target i386-openbsd.
Compiling units/i386-openbsd/BuildUnit_utils.pp
Compiling ptopu.pp
Compiling fpcmkcfg/fpcmkcfg.pp
Compiling fpcreslipo/fpcreslipo.pp
Compiling fpcres/units/i386-openbsd/BuildUnit_utils_fpcres.pp
Compiling ./fpcres/jarsourcehandler.pas
Compiling fpdoc/units/i386-openbsd/BuildUnit_utils_fpdoc.pp
Compiling ./fpdoc/dw_ipflin.pas
Compiling fpcm/units/i386-openbsd/BuildUnit_utils_fpcm.pp
Compiling ./fpcm/fpcmpkg.pp
Compiling fprcp/units/i386-openbsd/BuildUnit_utils_fprcp.pp
Compiling ./fprcp/pasprep.pp
Compiling ./fprcp/comments.pp
Compiling ./fprcp/expr.pp
Compiling fppkg/lnet/lnet.pp
Compiling fpcreslipo/sourcehandler.pp
Compiling fpcreslipo/msghandler.pp
Compiling ./fpcres/sourcehandler.pas
Compiling ./fpcres/msghandler.pas
Compiling ./fpcres/closablefilestream.pas
Compiling ./fpdoc/dglobals.pp
Compiling ./fpdoc/dwlinear.pp
Compiling ./fpdoc/mkfpdoc.pp
Compiling ./fpdoc/fpdocxmlopts.pas
Compiling ./fpdoc/fpdocclasstree.pp
Compiling ./fpcm/fpcmmain.pp
Compiling ./fpcm/fpcmwr.pp
Compiling ./fpcm/fpcmdic.pp
Compiling fppkg/lnet/lcommon.pp
Compiling fppkg/lnet/levents.pp
Compiling usubst.pp
Linking fpcmkcfg/bin/i386-openbsd/fpcmkcfg
Compiling fpcreslipo/paramparser.pp
Compiling ./fpcres/paramparser.pas
Compiling ./fpcres/target.pas
Compiling ./fpdoc/fpdocstrs.pp
Compiling fprcp/fprcp.pp
Linking fpcreslipo/bin/i386-openbsd/fpcreslipo
Compiling ptop.pp
Compiling fpcres/fpcres.pas
Compiling ./fpdoc/fpdocproj.pas
Linking fprcp/bin/i386-openbsd/fprcp
[ 13%] Compiled package utils-fpcmkcfg
Start compiling package utils-h2pas for target i386-openbsd.
[ 17%] Compiled package utils-fpcreslipo
Start compiling package utils-json2pas for target i386-openbsd.
Compiling ./fpdoc/dwriter.pp
Compiling fppkg/lnet/lftp.pp
Linking bin/i386-openbsd/ptop
Compiling h2pas/units/i386-openbsd/BuildUnit_utils_h2pas.pp
Compiling ./h2pas/h2pparse.pp
Compiling ./h2pas/scan.pas
Compiling ./h2pas/h2plexlib.pas
Compiling ./h2pas/h2pyacclib.pas
Compiling ./h2pas/h2pconst.pas
Compiling ./h2pas/scanbase.pp
Compiling ./h2pas/h2poptions.pas
Compiling json2pas/json2pas.pp
[ 21%] Compiled package utils-fprcp
Start compiling package utils-instantfpc for target i386-openbsd.
Compiling fppkg/lnet/ltelnet.pp
Compiling fppkg/lnet/lcontrolstack.pp
Linking fpcres/bin/i386-openbsd/fpcres
Compiling instantfpc/units/i386-openbsd/BuildUnit_utils_instantfpc.pp
Compiling ./instantfpc/instantfptools.pas
Compiling ./h2pas/h2pbase.pp
Compiling ./h2pas/h2pout.pp
Compiling ./h2pas/h2ptypes.pas
Linking json2pas/bin/i386-openbsd/json2pas
Compiling fpcm/fpcmake.pp
Compiling ppdep.pp
Linking bin/i386-openbsd/ppdep
[ 29%] Compiled package utils-json2pas
Compiling fpcres/fpcjres.pas
Start compiling package utils-pas2fpm for target i386-openbsd.
Linking fpcm/bin/i386-openbsd/fpcmake
Compiling instantfpc/instantfpc.pas
Compiling fppkg/lnet/lhttp.pp
Compiling rstconv.pp
Compiling pas2fpm/pas2fpm.pp
Compiling fppkg/lnet/lstrbuffer.pp
Compiling fppkg/lnet/lhttputil.pp
Compiling ./fpdoc/dw_dxml.pp
Linking fpcres/bin/i386-openbsd/fpcjres
[ 33%] Compiled package utils-fpcm
Start compiling package utils-pas2jni for target i386-openbsd.
Linking instantfpc/bin/i386-openbsd/instantfpc
Linking pas2fpm/bin/i386-openbsd/pas2fpm
Compiling pas2jni/pas2jni.pas
Linking bin/i386-openbsd/rstconv
Compiling ./fpdoc/dw_linrtf.pp
[ 38%] Compiled package utils-fpcres
Start compiling package utils-pas2ut for target i386-openbsd.
Compiling pas2jni/ppuparser.pas
Compiling pas2jni/def.pas
[ 42%] Compiled package utils-instantfpc
Start compiling package utils-lexyacc for target i386-openbsd.
Compiling ./fpdoc/dw_man.pp
Compiling pas2ut/pas2ut.pp
Compiling tply/units/i386-openbsd/BuildUnit_utils_lexyacc.pp
Compiling ./tply/yacctabl.pas
Compiling ./tply/yaccbase.pas
Compiling ./tply/yaccmsgs.pas
Compiling fppkg/pkglnet.pp
Compiling h2pas/h2pas.pas
[ 50%] Compiled package utils-pas2fpm
Start compiling package utils-unicode for target i386-openbsd.
Compiling pas2jni/writer.pas
Compiling ./fpdoc/dw_txt.pp
Compiling data2inc.pp
Linking pas2ut/bin/i386-openbsd/pas2ut
Compiling unicode/cldrparser.lpr
Compiling ./tply/yacclr0.pas
Compiling ./tply/yaccsem.pas
Compiling ./tply/yaccclos.pas
Compiling ./tply/yacclook.pas
Compiling ./tply/yaccpars.pas
Linking h2pas/bin/i386-openbsd/h2pas
Compiling ./fpdoc/dw_latex.pp
Linking bin/i386-openbsd/data2inc
Compiling unicode/cldrtxt.pas
Compiling unicode/cldrhelper.pas
Compiling unicode/unicodeset.pas
Compiling unicode/grbtree.pas
Compiling unicode/helper.pas
Compiling unicode/trie.pas
Compiling ./fpdoc/dw_markdown.pp
Compiling ./fpdoc/dw_basemd.pp
Compiling delp.pp
Compiling ./tply/lextable.pas
Compiling ./tply/lexbase.pas
Compiling ./tply/lexmsgs.pas
Compiling fppkg/lnet/fastcgi_base.pp
[ 54%] Compiled package utils-pas2ut
Start compiling package utils-pas2js for target i386-openbsd.
Linking bin/i386-openbsd/delp
Compiling ./tply/lexrules.pas
Compiling fppkg/lnet/lmimestreams.pp
Compiling h2pas/h2paspp.pas
Linking h2pas/bin/i386-openbsd/h2paspp
Compiling pas2js/units/i386-openbsd/BuildUnit_utils_pas2js.pp
Compiling ./pas2js/httpcompiler.pp
Compiling ./tply/lexlist.pas
Compiling ./tply/lexpos.pas
Compiling bin2obj.pp
Linking pas2jni/bin/i386-openbsd/pas2jni
Compiling ./tply/lexdfa.pas
Compiling ./tply/lexopt.pas
Compiling fppkg/lnet/lmimewrapper.pp
Compiling h2pas/h2paschk.pas
Compiling tply/plex.pas
Compiling ./fpdoc/dw_html.pp
Compiling ./fpdoc/dw_basehtml.pp
Compiling ./fpdoc/sh_pas.pp
Linking h2pas/bin/i386-openbsd/h2paschk
Linking bin/i386-openbsd/bin2obj
Compiling ./pas2js/dirw.pp
[ 58%] Compiled package utils-pas2jni
Start compiling package utils-ihxutil for target i386-openbsd.
Linking tply/bin/i386-openbsd/plex
[ 63%] Compiled package utils-h2pas
Start compiling package utils-wasmbin for target i386-openbsd.
Compiling ihxutil/units/i386-openbsd/BuildUnit_utils_ihxutil.pp
Compiling ./ihxutil/zxbasic.pas
Compiling fppkg/lnet/lprocess.pp
Compiling wasmbin/wasa.pas
Compiling mkinsadd.pp
Compiling ./ihxutil/tzxwriter.pas
Compiling ./ihxutil/ihxreader.pas
Compiling pas2js/pas2js.pp
Compiling tply/pyacc.pas
Compiling wasmbin/wasmnormalize.pas
Compiling wasmbin/wasmlink.pas
Compiling wasmbin/lebutils.pas
Compiling wasmbin/wasmbin.pas
Compiling wasmbin/wasmbincode.pas
Linking bin/i386-openbsd/mkinsadd
Compiling ./fpdoc/dw_xml.pp
Compiling unicode/cldrxml.pas
Compiling wasmbin/wasmmodule.pas
Compiling postw32.pp
Linking bin/i386-openbsd/postw32
Compiling ihxutil/ihxutil.lpr
Linking tply/bin/i386-openbsd/pyacc
Compiling fppkg/lnet/lspawnfcgi.pp
Compiling wasmbin/wasmbinwriter.pas
Linking pas2js/bin/i386-openbsd/pas2js
[ 67%] Compiled package utils-lexyacc
Start compiling package utils-openapi2pas for target i386-openbsd.
Compiling unicode/cldrtest.pas
Compiling wasmbin/watscanner.pas
Compiling wasmbin/wasmtext.pas
Compiling rmcvsdir.pp
Linking ihxutil/bin/i386-openbsd/ihxutil
Compiling openapi/openapi2pas.pp
Compiling wasmbin/parseutils.pas
Linking bin/i386-openbsd/rmcvsdir
[ 71%] Compiled package utils-ihxutil
Compiling fppkg/lnet/lmimetypes.pp
Compiling fpdoc/fpdoc.pp
Compiling wasmbin/watparser.pas
Linking wasmbin/bin/i386-openbsd/wasa
Compiling fpcsubst.pp
Linking openapi/bin/i386-openbsd/openapi2pas
Compiling fpdoc/dw_chm.pp
Compiling fppkg/lnet/ltimer.pp
Linking bin/i386-openbsd/fpcsubst
Compiling pas2js/pas2jslib.pp
[ 75%] Compiled package utils-openapi2pas
Compiling fppkg/fppkg.pp
Compiling wasmbin/wasmtool.lpr
[ 79%] Compiled package utils
Compiling wasmbin/wasmtoolutils.pas
Compiling wasmbin/wasmlinkchange.pas
Compiling wasmbin/wasmbindebug.pas
Linking wasmbin/bin/i386-openbsd/wasmtool
Linking pas2js/bin/i386-openbsd/libpas2jslib.so
Linking fppkg/bin/i386-openbsd/fppkg
[ 83%] Compiled package utils-wasmbin
Linking unicode/bin/i386-openbsd/cldrparser
[ 88%] Compiled package utils-fppkg
Compiling unicode/unihelper.lpr
Compiling unicode/uca_test.pas
Linking unicode/bin/i386-openbsd/unihelper
Compiling unicode/gbpparser.lpr
Linking unicode/bin/i386-openbsd/gbpparser
Linking fpdoc/bin/i386-openbsd/fpdoc
Compiling unicode/eawparser.lpr
Linking unicode/bin/i386-openbsd/eawparser
[ 92%] Compiled package utils-unicode
Compiling fpdoc/makeskel.pp
Linking fpdoc/bin/i386-openbsd/makeskel
Compiling fpdoc/unitdiff.pp
Linking fpdoc/bin/i386-openbsd/unitdiff
Compiling fpdoc/fpclasschart.pp
Linking fpdoc/bin/i386-openbsd/fpclasschart
[ 96%] Compiled package utils-fpdoc
The installer encountered the following error:
Error inside worker thread for package utils-pas2js: (3/8) Failed compiling: utils-pas2js: External command "/home/muller/pas/fpc-3.3.1/bin/ppc386 -Topenbsd -FEpas2js/bin/i386-openbsd -FUpas2js/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/rtl/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-json/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-base/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/rtl-objpas/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/pthreads/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-fpcunit/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/paszlib/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/hash/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/rtl-extra/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-xml/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/libtar/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-js/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-passrc/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/pastojs/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-process/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-web/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-db/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/ibase/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/mysql/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/odbc/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/oracle/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/postgres/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/sqlite/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/dblib/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/pxlib/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-net/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-async/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-hash/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/openssl/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fastcgi/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/httpd22/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/httpd24/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/libmicrohttpd/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-jsonschema/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/regexpr/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/fcl-openapi/units/i386-openbsd/ -Fu/home/muller/pas/gitlab-fpc-source/packages/webidl/units/i386-openbsd/ -Fupas2js/. -Topenbsd -Pi386 -XPi386-openbsd- -Ur -Xs -O2 -n -di386 -dRELEASE -n -dOLD_ASSEMBLER -vx -Fl/home/muller/sys-root/i386-openbsd/usr/lib -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/lib -Fl/home/muller/sys-root/i386-openbsd/usr/local/lib -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/local/lib -Fl/home/muller/sys-root/i386-openbsd/usr/libexec -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/libexec -Xd -viq pas2js/pas2jslib.pp" failed with exit code 256. Console output:
Target OS: OpenBSD for i386
Compiling pas2js/pas2jslib.pp
Assembling pas2jslib
Executing "/home/muller/bin/i386-openbsd-as" with command line "--32 -o pas2js/units/i386-openbsd/pas2jslib.o pas2js/units/i386-openbsd/pas2jslib.s"
Linking pas2js/bin/i386-openbsd/libpas2jslib.so
Executing "/home/muller/bin/i386-openbsd-ld.bfd" with command line " -rpath-link=/home/muller/sys-root/i386-openbsd/usr/lib -rpath-link=/home/muller/sys-root/i386-openbsd/usr/local/lib -rpath-link=/home/muller/sys-root/i386-openbsd/usr/libexec -init FPC_LIB_START -fini FPC_LIB_EXIT -soname libpas2jslib.so -shared -L. -o pas2js/bin/i386-openbsd/libpas2jslib.so pas2js/bin/i386-openbsd/link315109.res"
/home/muller/sys-root/i386-openbsd/usr/lib//libc.a(atexit.o): In function `_libc_atexit':
/usr/src/lib/libc/stdlib/atexit.c:121: multiple definition of `atexit'
/home/muller/sys-root/i386-openbsd/usr/lib/crtbeginS.o:crtbeginS.c: first defined here
/home/muller/bin/i386-openbsd-ld.bfd: Warning: size of symbol `atexit' changed from 43 in /home/muller/sys-root/i386-openbsd/usr/lib/crtbeginS.o to 38 in /home/muller/sys-root/i386-openbsd/usr/lib//libc.a(atexit.o)
Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
$00000000004646EF Compile, line 9707 of src/fpmkunit.pp
$0000000000453D42 Compile, line 6539 of src/fpmkunit.pp
$0000000000454454 Run, line 6651 of src/fpmkunit.pp
$000000000040A9D5 $main, line 114 of fpmake.pp
gmake: *** [Makefile:2950: all] Error 1
gmake: Leaving directory '/home/muller/pas/gitlab-fpc-source/utils'
Testing compilation in utils for i386-openbsd, with CROSSOPT=" -n -dOLD_ASSEMBLER -vx -Fl/home/muller/sys-root/i386-openbsd/usr/lib -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/lib -Fl/home/muller/sys-root/i386-openbsd/usr/local/lib -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/local/lib -Fl/home/muller/sys-root/i386-openbsd/usr/libexec -k-rpath-link=/home/muller/sys-root/i386-openbsd/usr/libexec -Xd" with BUILDFULLNATIVE=1 FPC=/home/muller/pas/fpc-3.3.1/bin/ppc386 BINUTILSPREFIX=i386-openbsd- (GNU assembler 2.17 using rtl/openbsd) failed, res=2