[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#191407: FTBFS: Pascal breaks on (at least) netbsd-i386



> Forwarding to the gpc maintainers.
> 
> Joel Baker writes:
> > Package: gcc-3.3
> > Version: 1:3.3ds5-0pre5
> > Severity: normal
> > 
> > The following is taken from an attempt to build gcc-3.3 on a netbsd-i386
> > box; gcc-3.2 did not fail at this point, and thus, this should probably be
> > considered a regression (as well as a build failure). It is possible to get
> > an otherwise working gcc-3.3 package by disabling Pascal in the rules.defs
> > file (by architecture or by hand).
> > 
> > I'm really not sure how to determine what's wrong, though I'm quite willing
> > to work with anyone who has an idea (including providing access to the box,
> > if necessary).
> > 
> > ../../src/gcc/p/script/mkdir-p p/utils
> > srcdir=`cd ../../src/gcc && pwd` && cd ./p/utils && /usr/bin/make -f "$srcdir/p/utils/Makefile" SHELL="/bin/sh" PC="`if [ x"i386-pc-netbsdelf-gnu" = x"i386-pc-netbsdelf-gnu" ]; then echo ./xgpc -B./' '; else echo stage1/xgcc -Bstage1/ -B/usr/i386-netbsdelf-gnu/bin/ | sed 's, *$,,;s,^\([^ ]*[/\][^/\]*\)gcc,\1gpc,;s/^gcc$/gpc/;s/$/ /' ; fi | sed -e 's,\(-[BI]\)\([^/][^:]\),\1../../\2,g;s,^\([^/][^:]*/\),../../\1,'` -I../rts" CFLAGS="-O2 " PFLAGS="" exeext="" INSTALL_PROGRAM="/usr/bin/install -c" INSTALL_DATA="/usr/bin/install -c -m 644" BUILD="i386-pc-netbsdelf-gnu" HOST="i386-pc-netbsdelf-gnu" GCC_DIR="$srcdir" all
> > make[5]: Entering directory `/tmp/Build/.new/gcc-3.3/gcc-3.3-3.3ds5/build/gcc/p/utils'
> > ../.././xgpc -B../.././  -I../rts -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -O2 --executable-path=.  --unit-path=/tmp/Build/.new/gcc-3.3/gcc-3.3-3.3ds5/src/gcc/p/rts --unit-path=/tmp/Build/.new/gcc-3.3/gcc-3.3-3.3ds5/src/gcc/p/units --print-needed-options "/tmp/Build/.new/gcc-3.3/gcc-3.3-3.3ds5/src/gcc/p/utils/binobj.pas" 2> "needed-options" || true
> > if grep -v '^--' "needed-options" > /dev/null; then echo "needed-options: `cat "needed-options"`" >&2; rm -f "needed-options"; false; else true; fi
> > ../.././xgpc -B../.././  -I../rts --automake --executable-file-name -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -O2   --executable-path=.  --unit-path=/tmp/Build/.new/gcc-3.3/gcc-3.3-3.3ds5/src/gcc/p/rts --unit-path=/tmp/Build/.new/gcc-3.3/gcc-3.3-3.3ds5/src/gcc/p/units `cat needed-options` "/tmp/Build/.new/gcc-3.3/gcc-3.3-3.3ds5/src/gcc/p/utils/binobj.pas"
> > xgpc: spec failure: unrecognized spec option ':'
> > xgpc: spec failure: unrecognized spec option ':'
> > /usr/bin/ld: cannot open if-exists(crti.o): No such file or directory
> > collect2: ld returned 1 exit status
> > make[5]: *** [binobj] Error 1

I can't tell anything from this report. With an access, I could try
to debug it.

If you just want to continue the build, try creating an empty
gcc/p/utils/needed-options file in the build directory (but the
problem may be deeper, so I don't know the rest will work then).

Frank

-- 
Frank Heckenbach, frank@g-n-u.de
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)



Reply to: