Discussion:
[Bug build/11420] undefined reference to "fmod", "dlopen", "sem_wait", "openpty"
ppluzhnikov at google dot com
2018-04-16 20:05:50 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=11420

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-04-17
CC| |ppluzhnikov at google dot com
Assignee|unassigned at sourceware dot org |ppluzhnikov at google dot com
Ever confirmed|0 |1
--
You are receiving this mail because:
You are on the CC list for the bug.
ppluzhnikov at google dot com
2018-04-17 01:37:30 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=11420

--- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
https://stackoverflow.com/a/49868387 provides a partial fix.
--
You are receiving this mail because:
You are on the CC list for the bug.
cvs-commit at gcc dot gnu.org
2018-05-04 14:10:24 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=11420

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Simon Marchi <***@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bf27f0e2c76839af8524e053cca271934150a90c

commit bf27f0e2c76839af8524e053cca271934150a90c
Author: Paul Pluzhnikov <***@google.com>
Date: Fri May 4 10:07:58 2018 -0400

configure uses incorrect link order when testing libpython

References:

https://stackoverflow.com/a/49868387
https://sourceware.org/bugzilla/show_bug.cgi?id=11420

Configure uses "gcc -o conftest -g ... conftest.c -ldl -lncurses -lm -ldl
... -lpthread ... -lpython2.7" when deciding whether give libpython is
usable.

That of course is the wrong link order, and only works for shared libraries
(mostly by accident), and only on some systems.

gdb/ChangeLog:

PR gdb/11420
* configure.ac: Prepend libpython.
* python/python-config.py: Likewise.
* configure: Regenerate.
--
You are receiving this mail because:
You are on the CC list for the bug.
simon.marchi at ericsson dot com
2018-05-04 14:13:23 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=11420

Simon Marchi <simon.marchi at ericsson dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |simon.marchi at ericsson dot com
Resolution|--- |FIXED

--- Comment #3 from Simon Marchi <simon.marchi at ericsson dot com> ---
Fixed by patch above, thanks Paul.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...