[Bug 1396654] Re: C++ demangling support missing from perf

2018-11-15 Thread Kristian Spangsege
Ok, on 18.04 (Bionic), if I do this

```
sudo apt-get build-dep linux-tools-4.15.0-39-generic
sudo apt-get install libiberty-dev binutils-dev
mkdir tmp
cd tmp
apt-get source linux-tools-4.15.0-39-generic
cd linux-4.15.0/tools/perf
make
```
I do get a perf command that demangles (so I now have a workaround)

Still, if I use `debuild` instead, as shown in my previous post, the
command is apparently built differently and is not able to demangle.

So, I can confirm the findings similar to post #24.

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

Title:
  C++ demangling support missing from perf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396654/+subscriptions

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

[Bug 1396654] Re: C++ demangling support missing from perf

2018-11-14 Thread Kristian Spangsege
I am affected by this on Ubuntu 18.04 (Bionic).

The only workaround I have seen, is to build/rebuild the `perf` tool
from the source package. This does not fix the problem for me on 18.04.

```
sudo apt-get install libiberty-dev binutils-dev
mkdir tmp
cd tmp
apt-get source linux-tools-4.15.0-39-generic
cd linux-4.15.0/
sudo apt-get build-dep linux-tools-4.15.0-39-generic
debuild --no-sign
```

Then, the newly built `debian/linux-tools-4.15.0-39/usr/lib/linux-
tools-4.15.0-39/perf` still does not do any demangling of C++ symbols.

Am I doing something wrong, or is it a new kind of problem with a
different solution on 18.04?

Any help will be greatly appreciated.

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

Title:
  C++ demangling support missing from perf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396654/+subscriptions

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

[Bug 575084] Re: Dead keys break in Emacs with locale set by gnome-language-selector/GDM

2012-05-26 Thread Kristian Spangsege
Interestingly I have two different installations of Ubuntu 12.04, and on
one of them, I have this emacs tilde problem, while on the other one, I
don't.

On the one where it fails, I previously switched from Lightdm to Gdm. On
the one where it works, I never did such a switch of display manager.

Unfortunately, switching back to Lightdm does not solve the problem, as
I would have expected.

Anyway, this issue is rather frustrating.

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

Title:
  Dead keys break in Emacs with locale set by gnome-language-
  selector/GDM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/575084/+subscriptions

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


[Bug 575084] Re: Dead keys break in Emacs with locale set by gnome-language-selector/GDM

2012-05-26 Thread Kristian Spangsege
Somehow htting Ctrl-x 8 in Emacs fixes the problem for that session.

Back in 2008, a guy gave this hint:
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/d5b1ab43f0ec5203

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

Title:
  Dead keys break in Emacs with locale set by gnome-language-
  selector/GDM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/575084/+subscriptions

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


[Bug 1002565] [NEW] Libtool fails to handle library interdependencies

2012-05-21 Thread Kristian Spangsege
Public bug reported:

Libtool fails to handle library interdependencies.

The interdependency is specified on the command line, and is recorded
correctly by libtool, however, since there is no dependency from the
point of view of the binary library files, and since libtool no longer
adds all dependency libraries on the command line, compiling of the
final application fails.

I suppose the problem is that libtool has been changed to set
link_all_deplibs=no on my platform, but I'm not sure.

Here is an example that illustrates the problem:


### create test files:
cat alpha.hpp EOI
void alpha();
EOI
cat alpha.cpp EOI
#include alpha.hpp
void alpha() {}
EOI
cat beta.hpp EOI
#include alpha.hpp
void beta1();
inline void beta2() { alpha(); }
EOI
cat beta.cpp EOI
#include beta.hpp
void beta1() {}
EOI
cat app.cpp EOI
#include beta.hpp
int main()
{
  beta2();
  return 0;
}
EOI

### build 'libalpha':
libtool --tag=CXX --mode=compile g++ -c alpha.cpp
libtool --tag=CXX --mode=link g++ alpha.lo -o libalpha.la -rpath /tmp

### build 'libbeta':
libtool --tag=CXX --mode=compile g++ -c beta.cpp
libtool --tag=CXX --mode=link g++ beta.lo libalpha.la -o libbeta.la -rpath /tmp 
# Depends on 'libalpha'

### build app:
libtool --tag=CXX --mode=link g++ app.cpp libbeta.la -o app

### error:
# In function `beta2()':
# app.cpp: undefined reference to `alpha()'

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libtool 2.4.2-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Tue May 22 00:37:22 2012
InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libtool
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libtool (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug precise

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

Title:
  Libtool fails to handle library interdependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/1002565/+subscriptions

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


[Bug 1002565] Re: Libtool fails to handle library interdependencies

2012-05-21 Thread Kristian Spangsege
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1002565

Title:
  Libtool fails to handle library interdependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/1002565/+subscriptions

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


[Bug 1002565] Re: Libtool fails to handle library interdependencies

2012-05-21 Thread Kristian Spangsege
Of couse, if you forget about C++, then this change is probably ok,
since all dependencies would be reflected in the binary library files.
This is certainly not the case for C++.

I belive that the Libtool manual says unambiguously that this is
supposed to work:

In any event, libtool provides a simple mechanism for you to declare
inter-library dependencies: for every library libname that your own
library depends on, simply add a corresponding -lname option to the link
line when you create your library.

http://www.gnu.org/software/libtool/manual/libtool.html
#Inter_002dlibrary-dependencies

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

Title:
  Libtool fails to handle library interdependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/1002565/+subscriptions

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


[Bug 1002565] Re: Libtool fails to handle library interdependencies

2012-05-21 Thread Kristian Spangsege
Note also that this actually worked in Ubuntu 10.04.

Also see this diff excerpt on libtool.m4 between Ubuntu 10.04 and 12.04:

@@ -4249,10 +4655,39 @@
   openbsd*)
 with_gnu_ld=no
 ;;
+  linux* | k*bsd*-gnu | gnu*)
+_LT_TAGVAR(link_all_deplibs, $1)=no
+;;
   esac

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

Title:
  Libtool fails to handle library interdependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libtool/+bug/1002565/+subscriptions

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