Re: sot module build failures with recent gcc

2023-04-01 Thread Arrigo Marchiori
Hello Don, All,

On Wed, Mar 29, 2023 at 11:58:06PM -0700, Don Lewis wrote:

> A FreeBSD user is trying to unbreak the ppc64 build and ran into an
> issue with the sot module.  I dig into it pretty deeply and it looks to
> me like a gcc bug.  It's reproducable in amd64.  It seems to affect
> gcc10, gcc11, and gcc12 builds.  The build failure does not happen with
> gcc9.
> 
> It is not limited to FreeBSD.  I get the same failure on Debian
> bullseye:
>  cc --version
> cc (Debian 10.2.1-6) 10.2.1 20210110
> Copyright (C) 2020 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> [ build LNK ] Library/libsot.so
> /usr/bin/ld: 
> /home/dl/aoo/openoffice/main/solver/4111/unxlngx6.pro/workdir/CxxObject/sot/source/sdstor/ucbstorage.o:
>  in function `UCBStorage_Impl::Init()':
> ucbstorage.cxx:(.text+0x72b4): undefined reference to `non-virtual thunk to 
> cppu::WeakImplHelper1::acquire()'
> collect2: error: ld returned 1 exit status
> 
> 
> The problem appears to be that gcc is getting confused when compiling
> line 1884 of ucbstorage.cxx.  It ends up trying to call the thunk to the
> acquire() method of a non-existent class.  That thunk isn't defined, so
> the linker bombs on the undefined symbol.

I reproduced it with OpenSUSE Linux Leap 15.4, using the provided gcc-10.

However, the problem seems to be at line 1879:

> > com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > 
> > xInputStream( pHelper );

It seems to compile if we split it as follows:

> > com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > 
> > xInputStream;
> > xInputStream = pHelper;

This _should_ work as it is how method
Reference UCBStorageStream_Impl::GetXInputStream()
does: it returns an instance of Reference on which
it calls calls operator= with a OInputStreamWrapper

I have no idea how to test this, though.

Can you please verify if the above restores compilation?

Best regards,
-- 
Arrigo

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Fwd: [Remix-Design/RemixIcon] Release v3.0.0 - v3.0.0

2023-04-01 Thread Matthias Seidel
FYI

Again, I think this would be a wonderful source for a "Dark Mode" icon
theme...

Volunteers?

Regards,

   Matthias



 Weitergeleitete Nachricht 
Betreff:[Remix-Design/RemixIcon] Release v3.0.0 - v3.0.0
Datum:  Sat, 01 Apr 2023 02:38:01 -0700
Von:Wendy Gao 
Antwort an: Remix-Design/RemixIcon 
An: Remix-Design/RemixIcon 
Kopie (CC): Subscribed 



  v3.0.0 

Repository: Remix-Design/RemixIcon
 · Tag: v3.0.0
 · Commit:
6aeb080

· Released by: wendygaoyuan 


   ADD

New arrow category, related icons have also been moved to this category.

Added 156 icons, including AI related icons: |arrow-down-double|
|arrow-left-double| |arrow-right-double| |arrow-turn-back|
|arrow-turn-forward| |arrow-up-double| |bard| |bootstrap| |box-1|
|box-2| |box-3| |brain| |candle| |cash| |contract-left|
|contract-left-right| |contract-right| |contract-up-down| |copilot|
|corner-down-left| |corner-down-right| |corner-left-down|
|corner-left-up| |corner-right-down| |corner-right-up|
|corner-up-left-double| |corner-up-left| |corner-up-right-double|
|corner-up-right| |cross| |edge-new| |equal| |expand-left|
|expand-left-right| |expand-right| |expand-up-down| |flickr|
|forward-10| |forward-15| |forward-30| |forward-5| |graduation-cap|
|home-office| |hourglass-2| |hourglass| |javascript| |loop-left|
|loop-right| |memories| |meta| |microsoft-loop| |nft| |notion| |openai|
|overline| |p2p| |presentation| |replay-10| |replay-15| |replay-30|
|replay-5| |school| |shining-2| |shining| |sketching| |skip-down|
|skip-left| |skip-right| |skip-up| |slow-down| |sparkling-2| |sparkling|
|speak| |speed-up| |tiktok| |token-swap| |unpin| |wechat-channels|
|wordpress| ;


   UPDATE

According to the latest logo style, redesigned |discord| and |gitlab| icons;


   FIX

Changed the baseline of iconfont, now icons should be vertically aligned
with the text.

—

This release has 4 assets:

  * RemixIcon_Fonts_v3.0.0.zip
  * RemixIcon_Svg_v3.0.0.zip
  * Source code (zip)
  * Source code (tar.gz)

Visit the release page
 to
download them.

—
You are receiving this because you are watching this repository.
View it on GitHub
 or
unsubscribe

from all notifications for this repository.



smime.p7s
Description: S/MIME Cryptographic Signature