unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* powerpc build failure with GCC mainline -fno-common change
@ 2019-11-21  1:19 Joseph Myers
  2019-11-21  9:23 ` Andreas Schwab
  2019-11-22 16:58 ` powerpc build failure with GCC mainline -fno-common change Tulio Magno Quites Machado Filho
  0 siblings, 2 replies; 37+ messages in thread
From: Joseph Myers @ 2019-11-21  1:19 UTC (permalink / raw)
  To: libc-alpha; +Cc: tuliom

glibc for powerpc configurations is failing to build with GCC mainline 
after the switch to -fno-common by default.  The error is multiple 
definitions of __cache_line_size linking sln, in dl-sysdep.c and 
libc-start.c.

https://sourceware.org/ml/libc-testresults/2019-q4/msg00237.html

As I see it, there are two obvious possible fixes: either use 
__attribute__ ((common)) on both definitions, or change one of them to an 
extern declaration if SHARED is not defined.  Any comments on what would 
be the better fix?

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2020-08-03 16:07 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  1:19 powerpc build failure with GCC mainline -fno-common change Joseph Myers
2019-11-21  9:23 ` Andreas Schwab
2019-12-23 18:45   ` [PATCH] powerpc: Move cache line size to rtld_global_ro Tulio Magno Quites Machado Filho
2019-12-26 17:04     ` Adhemerval Zanella
2019-12-27 15:42       ` Tulio Magno Quites Machado Filho
2019-12-27 16:47         ` Adhemerval Zanella
2020-01-09 10:29           ` Florian Weimer
2020-01-09 16:43             ` Jeff Law
2020-01-09 17:20               ` Tulio Magno Quites Machado Filho
2020-01-09 18:03                 ` Adhemerval Zanella
2020-01-09 18:49                   ` Tulio Magno Quites Machado Filho
2020-01-09 18:54                     ` Adhemerval Zanella
2020-01-10 22:27                       ` [PATCH 1/2] powerpc: Initialize rtld_global_ro for static dlopen [BZ #20802] Tulio Magno Quites Machado Filho
2020-01-10 22:27                         ` [PATCH 2/2] powerpc: Move cache line size to rtld_global_ro Tulio Magno Quites Machado Filho
2020-01-16 16:37                           ` Carlos O'Donell
2020-01-17  3:56                             ` Siddhesh Poyarekar
2020-01-17 12:39                               ` Tulio Magno Quites Machado Filho
2020-01-17 17:14                                 ` Florian Weimer
2020-01-17 17:15                                 ` Joseph Myers
2020-01-17 22:28                                   ` Tulio Magno Quites Machado Filho
2020-01-17 23:45                           ` [PATCH] powerpc32: Fix syntax error in __GLRO macro Andreas Schwab
2020-01-17 23:56                             ` Tulio Magno Quites Machado Filho
2020-07-23 14:47                           ` [PATCH 2/2] powerpc: Move cache line size to rtld_global_ro Joseph Myers
2020-07-23 16:46                             ` Andreas Schwab
2020-07-31 12:42                             ` Florian Weimer via Libc-alpha
2020-07-31 18:35                               ` Joseph Myers
2020-08-03  8:15                                 ` Florian Weimer via Libc-alpha
2020-08-03 16:07                                   ` Carlos O'Donell via Libc-alpha
2020-01-16 16:21                         ` [PATCH 1/2] powerpc: Initialize rtld_global_ro for static dlopen [BZ #20802] Carlos O'Donell
2020-01-16 16:25                           ` Siddhesh Poyarekar
2020-01-09 18:56                     ` [PATCH] powerpc: Move cache line size to rtld_global_ro Tulio Magno Quites Machado Filho
2020-01-10  9:38                 ` Florian Weimer
2020-01-10 16:09                   ` Shawn Landden
2020-01-10 18:19                     ` Adhemerval Zanella
2019-11-22 16:58 ` powerpc build failure with GCC mainline -fno-common change Tulio Magno Quites Machado Filho
2019-11-23 13:23   ` Florian Weimer
2019-11-26 13:26     ` Tulio Magno Quites Machado Filho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).