[Bug 1392888] [NEW] Mixed optimization and pragma settings cause ‘__open_too_many_args’ compile error
Public bug reported: Sample program below compiles with gcc with no errors, but results with a compile error with g++ g++ version: 4.8.2-19ubuntu1 gcc -O2 prog.c # ok g++ -O2 prog.c # error In file included from /usr/include/fcntl.h:279:0, from prog.c:5: In function ‘int open(const char*, int, ...)’, inlined from ‘int main()’ at prog.c:12:40: /usr/include/x86_64-linux-gnu/bits/fcntl2.h:44:28: error: call to ‘__open_too_many_args’ declared with attribute error: open can be called either with 2 or 3 arguments, not more __open_too_many_args (); Sample program: #pragma GCC optimize ("O0") #include #include int main() { int fd; fd = open( "filename", O_RDONLY, 0644); if (fd < 0) return 1; close(fd); return 0; } ** Affects: gcc-4.8 (Ubuntu) Importance: Undecided Status: New ** Description changed: Sample program below compiles with gcc with no errors, but results with a compile error with g++ g++ version: 4.8.2-19ubuntu1 gcc -O2 prog.c # ok g++ -O2 prog.c # error In file included from /usr/include/fcntl.h:279:0, - from prog.c:6: + from prog.c:5: In function ‘int open(const char*, int, ...)’, - inlined from ‘int main()’ at prog.c:12:40: + inlined from ‘int main()’ at prog.c:12:40: /usr/include/x86_64-linux-gnu/bits/fcntl2.h:44:28: error: call to ‘__open_too_many_args’ declared with attribute error: open can be called either with 2 or 3 arguments, not more - __open_too_many_args (); - + __open_too_many_args (); Sample program: #pragma GCC optimize ("O0") #include #include int main() { - int fd; + int fd; - fd = open( "filename", O_RDONLY, 0644); - if (fd < 0) return 1; + fd = open( "filename", O_RDONLY, 0644); + if (fd < 0) return 1; - close(fd); + close(fd); - return 0; + return 0; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392888 Title: Mixed optimization and pragma settings cause ‘__open_too_many_args’ compile error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1392888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 809708] [NEW] Certain cairo-dock updates correlate to X freezes
Public bug reported: On upgrade to Ubuntu 11.04, the screen freezes during updates to cairo- dock. This includes when new applications start, or close and cairo-dock updates the icon graphics. The freezes last for 3-4 seconds where nothing on the screen updates. Typing on the keyboard seems to be cached during the period. Brief freezes are also experienced when the dock is hidden and first re-appears. Once the screen starts refreshing, the dock operates and animates as expected. On the previous 10.10 install, there were no freezes during cairo-dock operation. The systems is an Intel Atom D510 with Nvidia ION graphics. Starting cairo-dock on the command line shows this: Cairo-Dock version: 2.3.0~1 Compiled date: Apr 20 2011 20:40:51 Running with OpenGL: 1 warning : (/build/buildd/cairo-dock-2.3.0~1/src/gldit/cairo-dock-module-manager.c:cairo_dock_load_module:167) while opening module '/usr/lib/cairo-dock/libcd_xfce-integration.so' : (libthunar-vfs-1.so.2: cannot open shared object file: No such file or directory) warning : (/build/buildd/cairo-dock-2.3.0~1/src/gldit/cairo-dock-packages.c:cairo_dock_list_packages:699) while listing user packages in '/home/useracct/.config/cairo-dock/third-party' : Error opening directory '/home/useracct/.config/cairo-dock/third-party': No such file or directory ** Affects: cairo-dock (Ubuntu) Importance: Undecided Status: New ** Description changed: On upgrade to Ubuntu 11.04, the screen freezes during updates to cairo- dock. This includes when new applications start, or close and cairo-dock updates the icon graphics. The freezes last for 3-4 seconds where nothing on the screen updates. Typing on the keyboard seems to be cached during the period. Brief freezes are also experienced when the dock is hidden and first re-appears. Once the screen starts refreshing, the dock operates and animates as expected. On the previous 10.10 install, there were no freezes during cairo-dock operation. The systems is an Intel Atom D510 with Nvidia ION graphics. Starting cairo-dock on the command line shows this: - - Cairo-Dock version: 2.3.0~1 - Compiled date: Apr 20 2011 20:40:51 - Running with OpenGL: 1 - + + Cairo-Dock version: 2.3.0~1 + Compiled date: Apr 20 2011 20:40:51 + Running with OpenGL: 1 + - warning : (/build/buildd/cairo-dock-2.3.0~1/src/gldit/cairo-dock-module-manager.c:cairo_dock_load_module:167) - while opening module '/usr/lib/cairo-dock/libcd_xfce-integration.so' : (libthunar-vfs-1.so.2: cannot open shared object file: No such file or directory) + warning : (/build/buildd/cairo-dock-2.3.0~1/src/gldit/cairo-dock-module-manager.c:cairo_dock_load_module:167) + while opening module '/usr/lib/cairo-dock/libcd_xfce-integration.so' : (libthunar-vfs-1.so.2: cannot open shared object file: No such file or directory) - warning : (/build/buildd/cairo-dock-2.3.0~1/src/gldit/cairo-dock-packages.c:cairo_dock_list_packages:699) - while listing user packages in '/home/alan/.config/cairo-dock/third-party' : Error opening directory '/home/useracct/.config/cairo-dock/third-party': No such file or directory + warning : (/build/buildd/cairo-dock-2.3.0~1/src/gldit/cairo-dock-packages.c:cairo_dock_list_packages:699) + while listing user packages in '/home/useracct/.config/cairo-dock/third-party' : Error opening directory '/home/useracct/.config/cairo-dock/third-party': No such file or directory -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/809708 Title: Certain cairo-dock updates correlate to X freezes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/809708/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 809708] Re: Certain cairo-dock updates correlate to X freezes
No pauses with cairo-dock -c. After that test, an updated kernel was released and I upgraded yesterday. With linux-image-2.6.38-10-generic, the issue seems to have gone away. "glxinfo | grep OpenGL" gives: OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: ION/PCI/SSE2 OpenGL version string: 3.3.0 NVIDIA 270.41.06 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler OpenGL extensions: I don't think the nvidia driver updated with the kernel image, but this data is after the kernel update. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/809708 Title: Certain cairo-dock updates correlate to X freezes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/809708/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 578761] Re: Simple-scan creates documents of wrong size
*** This bug is a duplicate of bug 550856 *** https://bugs.launchpad.net/bugs/550856 550856 seems to be a feature request regarding automatic cropping in simple scan. This bug is about simple scan ignoring the set page size and scanning in a different size document. I have the same symptoms with simple scan and xsane on Ubuntu 10.04 on a Brother MFC-7820N network scanner. Scan size is fine with a Mac. -- Simple-scan creates documents of wrong size https://bugs.launchpad.net/bugs/578761 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