Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 603778 Details for
Bug 705900
=app-arch/cpio-2.12-r1 fails to build with -fno-common or gcc-10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-src-global.c-drop-duplicate-definition-of-program_na.patch
0001-src-global.c-drop-duplicate-definition-of-program_na.patch (text/plain), 1.26 KB, created by
Sergei Trofimovich (RETIRED)
on 2020-01-19 23:21:51 UTC
(
hide
)
Description:
0001-src-global.c-drop-duplicate-definition-of-program_na.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2020-01-19 23:21:51 UTC
Size:
1.26 KB
patch
obsolete
>From b14a382ad0d6d49aceed8e363a18efe4826a0209 Mon Sep 17 00:00:00 2001 >From: Sergei Trofimovich <slyfox@gentoo.org> >Date: Sun, 19 Jan 2020 23:12:06 +0000 >Subject: [cpio: PATCH] src/global.c: drop duplicate definition of 'program_name' > >Noticed as a build failure against fresh gcc-master: >``` > CCLD cpio >ld: ../gnu/libgnu.a(progname.o):(.bss+0x0): > multiple definition of `program_name'; global.o:cpio/src/global.c:188: first defined here >collect2: error: ld returned 1 exit status >``` > >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. > >* src/global.c: drop 'program_name' definition. > >Bug: https://bugs.gentoo.org/705900 >Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> >--- > src/global.c | 3 --- > 1 file changed, 3 deletions(-) > >diff --git a/src/global.c b/src/global.c >index fb3abe9..acf92bc 100644 >--- a/src/global.c >+++ b/src/global.c >@@ -184,9 +184,6 @@ unsigned int warn_option = 0; > /* Extract to standard output? */ > bool to_stdout_option = false; > >-/* The name this program was run with. */ >-char *program_name; >- > /* A pointer to either lstat or stat, depending on whether > dereferencing of symlinks is done for input files. */ > int (*xstat) (); >-- >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 705900
:
603772
| 603778