public inbox for 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:48   ` [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:30           ` Florian Weimer
2020-01-09 16:43             ` Jeff Law
2020-01-09 17:20               ` Tulio Magno Quites Machado Filho
2020-01-09 18:04                 ` Adhemerval Zanella
2020-01-09 18:49                   ` Tulio Magno Quites Machado Filho
2020-01-09 18:55                     ` Adhemerval Zanella
2020-01-10 22:30                       ` [PATCH 1/2] powerpc: Initialize rtld_global_ro for static dlopen [BZ #20802] Tulio Magno Quites Machado Filho
2020-01-10 22:31                         ` [PATCH 2/2] powerpc: Move cache line size to rtld_global_ro Tulio Magno Quites Machado Filho
2020-01-16 17:47                           ` Carlos O'Donell
2020-01-17  3:57                             ` Siddhesh Poyarekar
2020-01-17 12:41                               ` Tulio Magno Quites Machado Filho
2020-01-17 17:15                                 ` Florian Weimer
2020-01-17 17:23                                 ` Joseph Myers
2020-01-17 22:54                                   ` Tulio Magno Quites Machado Filho
2020-01-17 23:50                           ` [PATCH] powerpc32: Fix syntax error in __GLRO macro Andreas Schwab
2020-01-18  1:23                             ` 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
2020-07-31 18:35                               ` Joseph Myers
2020-08-03  8:15                                 ` Florian Weimer
2020-08-03 16:07                                   ` Carlos O'Donell
2020-01-16 16:26                         ` [PATCH 1/2] powerpc: Initialize rtld_global_ro for static dlopen [BZ #20802] Carlos O'Donell
2020-01-16 16:31                           ` 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:39                 ` 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:24   ` Florian Weimer
2019-11-26 13:27     ` 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).