LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-15-2022, 12:26 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,560

Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
regression on -current with gtk4 (gcc-12.1.0)


gtk4 doesn't build with gcc-12.1.0:

Code:
In function ‘gtk_image_definition_ref’,
    inlined from ‘gtk_image_definition_new_empty’ at ../gtk/gtkimagedefinition.c:67:10:
../gtk/gtkimagedefinition.c:135:23: error: array subscript ‘GtkImageDefinition {aka union _GtkImageDefinition}[0]’ is partly outside array bounds of ‘GtkImageDefinitionEmpty[1]’ {aka ‘struct _GtkImageDefinitionEmpty[1]’} [-Werror=array-bounds]
  135 |   def->empty.ref_count++;
      |   ~~~~~~~~~~~~~~~~~~~~^~
../gtk/gtkimagedefinition.c: In function ‘gtk_image_definition_new_empty’:
../gtk/gtkimagedefinition.c:65:34: note: object ‘empty’ of size 8
   65 |   static GtkImageDefinitionEmpty empty = { GTK_IMAGE_EMPTY, 1 };
      |                                  ^~~~~
cc1: some warnings being treated as errors
[712/1262] Compiling C object gtk/libgtk.a.p/gtkbitset.c.o
ninja: build stopped: subcommand failed.
It doesn't build neither with gtk4-4.4.2.

Last edited by nobodino; 05-16-2022 at 01:27 AM.
 
Old 05-16-2022, 01:24 AM   #2
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,560

Original Poster
Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
It builds fine with the new version gtk4-4.6.4 without any patch.

Last edited by nobodino; 05-16-2022 at 01:27 AM.
 
1 members found this post helpful.
Old 06-18-2022, 01:09 AM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,560

Original Poster
Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
it still doesn't build on -current with gcc-12.1.0.
 
Old 06-19-2022, 09:01 AM   #4
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 429

Rep: Reputation: 220Reputation: 220Reputation: 220
It builds fine with the new version gtk4-4.7.0 without any patch.
 
Old 07-14-2022, 12:43 AM   #5
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,560

Original Poster
Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
fixed in -current.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] regression on -current with gcc-11.3.0 nobodino Slackware 4 04-26-2022 11:07 PM
-current: gtk3/gtk4 font rendering require xdg-desktop-portal-gnome in plasma wayland walecha Slackware 4 11-10-2021 06:38 AM
[SOLVED] regression on -current with gtk4 nobodino Slackware 3 10-31-2021 08:19 PM
[SOLVED] regression on -current with gcc-10.2.0 nobodino Slackware 2 01-18-2021 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration