[Bug 302649] Re: scipy.weave.inline compilation fails with gcc 4.3
Sameer Morar
smorar at gmail.com
Thu Nov 27 00:46:34 UTC 2008
Attached is some python code which demonstrates the bug. To reproduce, please follow the following steps:
1) Ensure that gcc-4.3 is installed:
root at spider:/usr/bin# ls -la g++
lrwxrwxrwx 1 root root 7 2008-11-27 02:37 g++ -> g++-4.3
2) Remove pre-compiled python snippets
smorar at spider:~$ rm -rf /home/smorar/.python25_compiled/
3) Run code
smorar at spider:~$ python weave_test.py
The compilation will fail with the above error.
To demonstrate that this is related to the latest gcc:
1) Ensure that gcc-4.2 is installed
root at spider:/usr/bin# rm g++
root at spider:/usr/bin# ln -s g++-4.2 g++
2) Remove pre-compiled python snippets
smorar at spider:~$ rm -rf /home/smorar/.python25_compiled/
3) Run code
smorar at spider:~$ python weave_test.py
The compilation will succeed (with many compiler warnings), and the python / c code produces the expected output.
** Attachment added: "Example python code which demonstrates the bug"
http://launchpadlibrarian.net/19978957/weave_test.py
--
scipy.weave.inline compilation fails with gcc 4.3
https://bugs.launchpad.net/bugs/302649
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list