Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 604094 Details for
Bug 706132
media-gfx/geeqie-1.5.1 : ld: ui_fileops.o:(.bss+0x0): multiple definition of `command_line'; ui_bookmark.o:(.bss+0x0): first defined here
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-src-options-fix-build-failure-against-gcc-10.patch
0001-src-options-fix-build-failure-against-gcc-10.patch (text/plain), 2.12 KB, created by
Sergei Trofimovich (RETIRED)
on 2020-01-23 19:47:45 UTC
(
hide
)
Description:
0001-src-options-fix-build-failure-against-gcc-10.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2020-01-23 19:47:45 UTC
Size:
2.12 KB
patch
obsolete
>From 543ea6d903a50c353d9e129d380240f277a670aa Mon Sep 17 00:00:00 2001 >From: Sergei Trofimovich <slyfox@gentoo.org> >Date: Thu, 23 Jan 2020 08:24:52 +0000 >Subject: [PATCH] src/options: fix build failure against gcc-10 > >On gcc-10 (and gcc-9 -fno-common) build fails as: > >``` > CXXLD geeqie >ld: ui_fileops.o:(.bss+0x0): > multiple definition of `options'; ui_bookmark.o:(.bss+0x0): first defined here >ld: ui_fileops.o:(.bss+0x8): > multiple definition of `command_line'; ui_bookmark.o:(.bss+0x8): first defined here >``` > >gcc-10 will change the default from -fcommon to fno-common: >https://gcc.gnu.org/PR85678. > >The error also happens if CFLAGS=-fno-common passed explicitly. > >Reported-by: Anthony Parsons >Bug: https://bugs.gentoo.org/706132 >Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> >--- > src/bar_exif.h | 3 --- > src/options.c | 3 +++ > src/options.h | 4 ++-- > 3 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/src/bar_exif.h b/src/bar_exif.h >index 63c30d4b..1395e842 100644 >--- a/src/bar_exif.h >+++ b/src/bar_exif.h >@@ -28,9 +28,6 @@ void bar_pane_exif_update_from_config(GtkWidget *pane, const gchar **attribute_n > void bar_pane_exif_entry_add_from_config(GtkWidget *pane, const gchar **attribute_names, const gchar **attribute_values); > > /* these are exposed for when duplication of the exif bar's text is needed */ >- >-const gchar **bar_exif_key_list; >-const gint bar_exif_key_count; > GList *bar_pane_exif_list(); > > #endif >diff --git a/src/options.c b/src/options.c >index 99459381..bab26acb 100644 >--- a/src/options.c >+++ b/src/options.c >@@ -32,6 +32,9 @@ > #include "ui_fileops.h" > #include "window.h" > >+ConfOptions *options; >+CommandLine *command_line; >+ > ConfOptions *init_options(ConfOptions *options) > { > gint i; >diff --git a/src/options.h b/src/options.h >index fcfe961a..02ff8fac 100644 >--- a/src/options.h >+++ b/src/options.h >@@ -329,8 +329,8 @@ struct _ConfOptions > GList *disabled_plugins; > }; > >-ConfOptions *options; >-CommandLine *command_line; >+extern ConfOptions *options; >+extern CommandLine *command_line; > > ConfOptions *init_options(ConfOptions *options); > void setup_default_options(ConfOptions *options); >-- >2.25.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 706132
:
604024
| 604094