Preprocessed source and one-line shell script to reproduce the problem attached:
$ sh -x thebug.sh
+ cc -O2 -std=gnu99 -fwhole-program --combine -c -o mksh.o edit.i eval.i exec.i expr.i funcs.i histrap.i jobs.i lalloc.i lex.i main.i misc.i shf.i syn.i tree.i var.i
../../mksh/jobs.c: In function 'exchild':
../../mksh/jobs.c:458: warning: ignoring return value of 'nice', declared with attribute warn_unused_result
../../mksh/edit.c: In function 'vi_cmd':
/usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available
../../mksh/edit.c:4135: sorry, unimplemented: called from here
/usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available
../../mksh/edit.c:4139: sorry, unimplemented: called from here
/usr/include/bits/string3.h:49: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining
../../mksh/edit.c:4170: sorry, unimplemented: called from here
/usr/include/bits/string3.h:49: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining
../../mksh/edit.c:4173: sorry, unimplemented: called from here
/usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available
../../mksh/edit.c:5095: sorry, unimplemented: called from here
../../mksh/lex.c:955: confused by earlier errors, bailing out
This is on a karmic schroot from today.
Using built-in specs. pkgversion= 'Ubuntu 4.4.0-3ubuntu5' --with- bugurl= file:// /usr/share/ doc/gcc- 4.4/README. Bugs --enable- languages= c,c++,fortran, objc,obj- c++ --prefix=/usr --enable-shared --enable-multiarch --with-system-zlib --libexecdir= /usr/lib --without- included- gettext --enable- threads= posix --with- gxx-include- dir=/usr/ include/ c++/4.4 --program- suffix= -4.4 --enable-nls --enable- clocale= gnu --enable- libstdcxx- debug --enable-mpfr --enable-objc-gc --enable- targets= all --disable-werror --with-arch-32=i486 --with-tune=generic --enable- checking= release --build= i486-linux- gnu --host= i486-linux- gnu --target= i486-linux- gnu
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 4.4.0 (Ubuntu 4.4.0-3ubuntu5)
Preprocessed source and one-line shell script to reproduce the problem attached:
$ sh -x thebug.sh jobs.c: 458: warning: ignoring return value of 'nice', declared with attribute warn_unused_result bits/string3. h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available edit.c: 4135: sorry, unimplemented: called from here bits/string3. h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available edit.c: 4139: sorry, unimplemented: called from here bits/string3. h:49: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining edit.c: 4170: sorry, unimplemented: called from here bits/string3. h:49: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining edit.c: 4173: sorry, unimplemented: called from here bits/string3. h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available edit.c: 5095: sorry, unimplemented: called from here lex.c:955: confused by earlier errors, bailing out
+ cc -O2 -std=gnu99 -fwhole-program --combine -c -o mksh.o edit.i eval.i exec.i expr.i funcs.i histrap.i jobs.i lalloc.i lex.i main.i misc.i shf.i syn.i tree.i var.i
../../mksh/jobs.c: In function 'exchild':
../../mksh/
../../mksh/edit.c: In function 'vi_cmd':
/usr/include/
../../mksh/
/usr/include/
../../mksh/
/usr/include/
../../mksh/
/usr/include/
../../mksh/
/usr/include/
../../mksh/
../../mksh/