public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Re: [glibc] chk: Add and fix hidden builtin definitions for *_chk
       [not found] <20230803204739.0A71A385783F@sourceware.org>
@ 2023-08-04  7:41 ` Andreas Schwab
  2023-08-04  8:05   ` Samuel Thibault
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2023-08-04  7:41 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: libc-alpha

In file included from <command-line>:
../include/setjmp.h:19:20: error: redefinition of '__longjmp_chk'
   19 | #define siglongjmp __longjmp_chk
      |                    ^~~~~~~~~~~~~
./../include/libc-symbols.h:155:26: note: in definition of macro '_weak_alias'
  155 |   extern __typeof (name) aliasname __attribute__ ((weak, alias (#name))) \
      |                          ^~~~~~~~~
../include/shlib-compat.h:117:3: note: in expansion of macro 'weak_alias'
[  135s]   117 |   weak_alias (local, symbol)
      |   ^~~~~~~~~~
../sysdeps/powerpc/longjmp.c:56:1: note: in expansion of macro 'versioned_symbol'
   56 | versioned_symbol (libc, __vmx__libc_siglongjmp, siglongjmp, GLIBC_2_3_4);
      | ^~~~~~~~~~~~~~~~
../sysdeps/powerpc/longjmp.c:56:49: note: in expansion of macro 'siglongjmp'
   56 | versioned_symbol (libc, __vmx__libc_siglongjmp, siglongjmp, GLIBC_2_3_4);
      |                                                 ^~~~~~~~~~
../include/setjmp.h:18:17: note: previous definition of '__longjmp_chk' with type 'void(struct __jmp_buf_tag *, int)'
   18 | #define longjmp __longjmp_chk
      |                 ^~~~~~~~~~~~~
./../include/libc-symbols.h:155:26: note: in definition of macro '_weak_alias'
  155 |   extern __typeof (name) aliasname __attribute__ ((weak, alias (#name))) \
      |                          ^~~~~~~~~
../include/shlib-compat.h:117:3: note: in expansion of macro 'weak_alias'
  117 |   weak_alias (local, symbol)
      |   ^~~~~~~~~~
../sysdeps/powerpc/longjmp.c:55:1: note: in expansion of macro 'versioned_symbol'
   55 | versioned_symbol (libc, __vmx__libc_siglongjmp, longjmp, GLIBC_2_3_4);
      | ^~~~~~~~~~~~~~~~
../sysdeps/powerpc/longjmp.c:55:49: note: in expansion of macro 'longjmp'
   55 | versioned_symbol (libc, __vmx__libc_siglongjmp, longjmp, GLIBC_2_3_4);
      |                                                 ^~~~~~~
make[2]: *** [/home/abuild/rpmbuild/BUILD/glibc-2.38.9000.12.g04bf7d2d8a/cc-base/sysd-rules:1773: /home/abuild/rpmbuild/BUILD/glibc-2.38.9000.12.g04bf7d2d8a/cc-base/setjmp/longjmp.o] Error 1

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

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

* Re: [glibc] chk: Add and fix hidden builtin definitions for *_chk
  2023-08-04  7:41 ` [glibc] chk: Add and fix hidden builtin definitions for *_chk Andreas Schwab
@ 2023-08-04  8:05   ` Samuel Thibault
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2023-08-04  8:05 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-alpha

Ah, right, powerpc has its own longjmp.c. Now fixed.

Andreas Schwab, le ven. 04 août 2023 09:41:10 +0200, a ecrit:
> In file included from <command-line>:
> ../include/setjmp.h:19:20: error: redefinition of '__longjmp_chk'
>    19 | #define siglongjmp __longjmp_chk
>       |                    ^~~~~~~~~~~~~
> ./../include/libc-symbols.h:155:26: note: in definition of macro '_weak_alias'
>   155 |   extern __typeof (name) aliasname __attribute__ ((weak, alias (#name))) \
>       |                          ^~~~~~~~~
> ../include/shlib-compat.h:117:3: note: in expansion of macro 'weak_alias'
> [  135s]   117 |   weak_alias (local, symbol)
>       |   ^~~~~~~~~~
> ../sysdeps/powerpc/longjmp.c:56:1: note: in expansion of macro 'versioned_symbol'
>    56 | versioned_symbol (libc, __vmx__libc_siglongjmp, siglongjmp, GLIBC_2_3_4);
>       | ^~~~~~~~~~~~~~~~
> ../sysdeps/powerpc/longjmp.c:56:49: note: in expansion of macro 'siglongjmp'
>    56 | versioned_symbol (libc, __vmx__libc_siglongjmp, siglongjmp, GLIBC_2_3_4);
>       |                                                 ^~~~~~~~~~
> ../include/setjmp.h:18:17: note: previous definition of '__longjmp_chk' with type 'void(struct __jmp_buf_tag *, int)'
>    18 | #define longjmp __longjmp_chk
>       |                 ^~~~~~~~~~~~~
> ./../include/libc-symbols.h:155:26: note: in definition of macro '_weak_alias'
>   155 |   extern __typeof (name) aliasname __attribute__ ((weak, alias (#name))) \
>       |                          ^~~~~~~~~
> ../include/shlib-compat.h:117:3: note: in expansion of macro 'weak_alias'
>   117 |   weak_alias (local, symbol)
>       |   ^~~~~~~~~~
> ../sysdeps/powerpc/longjmp.c:55:1: note: in expansion of macro 'versioned_symbol'
>    55 | versioned_symbol (libc, __vmx__libc_siglongjmp, longjmp, GLIBC_2_3_4);
>       | ^~~~~~~~~~~~~~~~
> ../sysdeps/powerpc/longjmp.c:55:49: note: in expansion of macro 'longjmp'
>    55 | versioned_symbol (libc, __vmx__libc_siglongjmp, longjmp, GLIBC_2_3_4);
>       |                                                 ^~~~~~~
> make[2]: *** [/home/abuild/rpmbuild/BUILD/glibc-2.38.9000.12.g04bf7d2d8a/cc-base/sysd-rules:1773: /home/abuild/rpmbuild/BUILD/glibc-2.38.9000.12.g04bf7d2d8a/cc-base/setjmp/longjmp.o] Error 1

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

end of thread, other threads:[~2023-08-04  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230803204739.0A71A385783F@sourceware.org>
2023-08-04  7:41 ` [glibc] chk: Add and fix hidden builtin definitions for *_chk Andreas Schwab
2023-08-04  8:05   ` Samuel Thibault

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).