[Bug 1824721] Re: g++-8 in disco is broken with libstdc++6 from gcc9 and libstdc++fs

2019-04-16 Thread Jonathan Wakely
Gah, typo:

> so the linker finds the GCC 9 ones in libstdc++.so.6.0.25 and uses
them

That should have said libstdc++.so.6.0.26 - sorry for any confusion.

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

Title:
  g++-8 in disco is broken with libstdc++6 from gcc9 and libstdc++fs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1824721/+subscriptions

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

[Bug 1824721] Re: g++-8 in disco is broken with libstdc++6 from gcc9 and libstdc++fs

2019-04-16 Thread Jonathan Wakely
The GCC 8 std::filesystem (and std::experimental::filesystem) symbols
are in libstdc++fs.a which is only provided as a static library, so link
order does matter. If you don't tell the linker to use it after the
objects that require it, then no symbols from libstdc++fs.a will be
used.

In GCC 9 the std::experimental::filesystem symbols are still in
libstdc++fs.a but the std::filesystem symbols are in libstdc++.so.6.0.26
now, but they're incompatible with the GCC 8 definitions. In your
problematic link no symbols were used from libstdc++fs.a, so the linker
finds the GCC 9 ones in libstdc++.so.6.0.25 and uses them, but that
leads to crashes.

It would have been possible to make the GCC 8 and 9 std::filesystem
symbols mangle differently, and maybe I should do that for GCC 8.4, but
for now the short answer is "C++17 support in GCC 8 is experimental, the
onus is on you to link correctly".

Since this problem is specific to Ubuntu, due to mixing gcc-8 and
libstdc++.so.6.0.26, another possibility would be for Ubuntu's gcc-8 to
reorder the linker arguments. If -lstdc++fs is given it could be moved
to after the object files (but before the implicit -lstdc++ option that
g++ adds).

Another option would be to make g++ simply link to -lstdc++fs
implicitly, as it does for -lstdc++. Unless the user adds -Wl,--whole-
archive (and doesn't follow it with -Wl,--no-whole-archive) that should
be harmless because the symbols in libstdc++fs.a will only be used if
actually needed.

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

Title:
  g++-8 in disco is broken with libstdc++6 from gcc9 and libstdc++fs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1824721/+subscriptions

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

[Bug 274992] Re: Anti-phishing measure has incorrect prompts on dialog box

2008-12-20 Thread Jonathan Wakely
this is bug 271933
and https://bugzilla.redhat.com/show_bug.cgi?id=462392
so it isn't ubuntu-specific

all reported occurrences are with x86_64.

noone seems to be looking into it, even though the anti-phishing check
is completely backwards and therefore does more harm than good.

-- 
Anti-phishing measure has incorrect prompts on dialog box
https://bugs.launchpad.net/bugs/274992
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 274992] Re: Anti-phishing measure has incorrect prompts on dialog box

2008-12-20 Thread Jonathan Wakely
*** This bug is a duplicate of bug 271933 ***
https://bugs.launchpad.net/bugs/271933

** This bug has been marked a duplicate of bug 271933
   http://user:p...@site/ link asks ‘Is user the site you want to visit?’

-- 
Anti-phishing measure has incorrect prompts on dialog box
https://bugs.launchpad.net/bugs/274992
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