[Bug 352475] Re: sorry, unimplemented: inlining failed

2009-06-20 Thread Matthias Klose
** Bug watch added: GCC Bugzilla #40506
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40506

** Also affects: gcc via
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40506
   Importance: Unknown
   Status: Unknown

** Summary changed:

- sorry, unimplemented: inlining failed
+ [PR40506] sorry, unimplemented: inlining failed

-- 
[PR40506] sorry, unimplemented: inlining failed
https://bugs.launchpad.net/bugs/352475
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 352475] Re: sorry, unimplemented: inlining failed

2009-05-28 Thread Thorsten Glaser
This is on a karmic schroot from today.

Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-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
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 
+ 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


** Attachment added: preprocessed source
   http://launchpadlibrarian.net/27241155/thebug.tgz

-- 
sorry, unimplemented: inlining failed
https://bugs.launchpad.net/bugs/352475
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 352475] Re: sorry, unimplemented: inlining failed

2009-05-28 Thread Thorsten Glaser
changing from gcc-defaults to gcc-4.4 now that I pinned it down further

** Package changed: gcc-defaults (Ubuntu) = gcc-4.4 (Ubuntu)

-- 
sorry, unimplemented: inlining failed
https://bugs.launchpad.net/bugs/352475
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 352475] Re: sorry, unimplemented: inlining failed

2009-05-26 Thread Thorsten Glaser
** Changed in: gcc-defaults (Ubuntu)
   Status: Incomplete = New

-- 
sorry, unimplemented: inlining failed
https://bugs.launchpad.net/bugs/352475
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 352475] Re: sorry, unimplemented: inlining failed

2009-04-09 Thread Thorsten Glaser
│ gcc version 4.4.0 20090327 (experimental) [trunk revision 145121] (Ubuntu 
20090327-0ubuntu1)
└─┤ is indeed not affected by this bug.

To reproduce, I made a jaunty schroot and tried to build mksh 37.3-2 in
it.

tgl...@tglase:~/mksh-37.3/build/full$ cc -Wall -g -O2 -fno-strict-aliasing 
-fstack-protector-all -fwrapv -std=gnu99 -Wall -I. -I'../../mksh'  
-DMKSH_BINSHREDUCED  -include /usr/include/bsd/bsd.h
 -D_GNU_SOURCE -DHAVE_ATTRIBUTE=1 -DHAVE_ATTRIBUTE_BOUNDED=0 
-DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MKDEV_H=0 
-DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_LIBGEN_H=1 
-DHAVE_LIBUTIL_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_GRP_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_STDINT_H=1 
-D_FILE_OFFSET_BITS=64 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_SYS_SIGNAME=0 
-DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_ARC4RANDOM=1 
-DHAVE_ARC4RANDOM_PUSHB=0 -DHAVE_GETRUSAGE=1 -DHAVE_MKNOD=1 -DHAVE_MKSTEMP=1 
-DHAVE_NICE=1 -DHAVE_REALPATH=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 
-DHAVE_LANGINFO_CODESET=1 -DHAVE_SETMODE=1 -DHAVE_SETRESUGID=1 
-DHAVE_SETGROUPS=1 -DHAVE_STRCASESTR=1 -DHAVE_STRLCPY=1 
-DHAVE_ARC4RANDOM_DECL=1 -DHAVE_ARC4RANDOM_PUSHB_DECL=1 -DHAVE_FLOCK_DECL=0 
-DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 
-Wl,-Bsymbolic-functions -fwhole-program --combine -o mksh ../../mksh/lalloc.c 
../../mksh/edit.c ../../mksh/eval.c ../../mksh/exec.c ../../mksh/expr.c 
../../mksh/funcs.c ../../mksh/histrap.c ../../mksh/jobs.c ../../mksh/lex.c 
../../mksh/main.c ../../mksh/misc.c ../../mksh/shf.c ../../mksh/syn.c 
../../mksh/tree.c ../../mksh/var.c -lbsd
../../mksh/jobs.c: In function 'exchild':
../../mksh/jobs.c:438: warning: ignoring return value of 'nice', declared with 
attribute warn_unused_result
../../mksh/exec.c: In function 'execute':
/usr/include/bits/string3.h:79: sorry, unimplemented: inlining failed in call 
to 'memset': redefined extern inline functions are not considered for inlining
../../mksh/exec.c:83: sorry, unimplemented: called from here
/usr/include/bits/fcntl2.h:43: sorry, unimplemented: inlining failed in call to 
'open': redefined extern inline functions are not considered for inlining
../../mksh/exec.c:1157: sorry, unimplemented: called from here
/usr/include/bits/fcntl2.h:43: sorry, unimplemented: inlining failed in call to 
'open': redefined extern inline functions are not considered for inlining
../../mksh/exec.c:699: sorry, unimplemented: called from here
/usr/include/bits/unistd.h:36: sorry, unimplemented: inlining failed in call to 
'read': redefined extern inline functions are not considered for inlining
../../mksh/exec.c:701: sorry, unimplemented: called from here
tgl...@tglase:~/mksh-37.3/build/full$ cc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' 
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic 
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu 
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) 

tgl...@tglase:~/mksh-37.3/build/full$ /usr/lib/gcc-snapshot/bin/gcc -Wall -g 
-O2 -fno-strict-aliasing -fstack-protector-all -fwrapv -std=gnu99 -Wall -I. 
-I'../../mksh'  -DMKSH_BINSHREDUCED  -include 
/usr/include/bsd/bsd.h -D_GNU_SOURCE -DHAVE_ATTRIBUTE=1 
-DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_PARAM_H=1 
-DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_SYSMACROS_H=1 
-DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDBOOL_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_GRP_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 
-DHAVE_STDINT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 
-DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 
-DHAVE_ARC4RANDOM=1 -DHAVE_ARC4RANDOM_PUSHB=0 -DHAVE_GETRUSAGE=1 -DHAVE_MKNOD=1 
-DHAVE_MKSTEMP=1 -DHAVE_NICE=1 -DHAVE_REALPATH=1 -DHAVE_REVOKE=0 
-DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SETMODE=1 
-DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRCASESTR=1 -DHAVE_STRLCPY=1 
-DHAVE_ARC4RANDOM_DECL=1 -DHAVE_ARC4RANDOM_PUSHB_DECL=1 -DHAVE_FLOCK_DECL=0 
-DHAVE_REVOKE_DECL=1 -DHAVE_SYS_SIGLIST_DECL=1 -DHAVE_PERSISTENT_HISTORY=1 
-Wl,-Bsymbolic-functions -fwhole-program --combine -o mksh ../../mksh/lalloc.c 
../../mksh/edit.c ../../mksh/eval.c ../../mksh/exec.c ../../mksh/expr.c 
../../mksh/funcs.c ../../mksh/histrap.c ../../mksh/jobs.c ../../mksh/lex.c 
../../mksh/main.c ../../mksh/misc.c ../../mksh/shf.c ../../mksh/syn.c 
../../mksh/tree.c ../../mksh/var.c 

[Bug 352475] Re: sorry, unimplemented: inlining failed

2009-04-06 Thread Thorsten Glaser
- the bug only appears when using -fwhole-program --combine
- as this is a PPA, I do not really have access to either the source or
  the compiler, because I don’t build it myself (it works fine on Hardy,
  which is what we have at work)¹
- interestingly enough, the OpenSuSE Buildservice has the same problem

¹) I could try a chroot though, but it, again, looks like a problem in the
  combination of new gcc and new headers – Debian sid doesn’t have it

-- 
sorry, unimplemented: inlining failed
https://bugs.launchpad.net/bugs/352475
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 352475] Re: sorry, unimplemented: inlining failed

2009-04-05 Thread Matthias Klose
- please attach the preprocessed source
- please recheck with gcc-snapshot


** Changed in: gcc-defaults (Ubuntu)
   Status: New = Incomplete

-- 
sorry, unimplemented: inlining failed
https://bugs.launchpad.net/bugs/352475
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs