Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 723316 Details for
Bug 801580
sys-devel/gcc-11.1.0-r2[jit]: gccjit runtime failure with ccache (was: app-editors/emacs-28.0.9999[jit] fails with FEATURES=ccache)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
a.c
a.c (text/x-csrc), 4.88 KB, created by
Sergei Trofimovich (RETIRED)
on 2021-07-11 16:50:32 UTC
(
hide
)
Description:
a.c
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2021-07-11 16:50:32 UTC
Size:
4.88 KB
patch
obsolete
>/* confdefs.h */ >#define PACKAGE_NAME "GNU Emacs" >#define PACKAGE_TARNAME "emacs" >#define PACKAGE_VERSION "28.0.50" >#define PACKAGE_STRING "GNU Emacs 28.0.50" >#define PACKAGE_BUGREPORT "bug-gnu-emacs@gnu.org" >#define PACKAGE_URL "https://www.gnu.org/software/emacs/" >#define HAVE_PDUMPER 1 >#define HAVE_STDIO_H 1 >#define HAVE_STDLIB_H 1 >#define HAVE_STRING_H 1 >#define HAVE_INTTYPES_H 1 >#define HAVE_STDINT_H 1 >#define HAVE_STRINGS_H 1 >#define HAVE_SYS_STAT_H 1 >#define HAVE_SYS_TYPES_H 1 >#define HAVE_UNISTD_H 1 >#define HAVE_WCHAR_H 1 >#define HAVE_LINUX_FS_H 1 >#define HAVE_MALLOC_H 1 >#define HAVE_SYS_SYSINFO_H 1 >#define HAVE_PTY_H 1 >#define HAVE_SYS_RESOURCE_H 1 >#define HAVE_SYS_UTSNAME_H 1 >#define HAVE_PWD_H 1 >#define HAVE_UTMP_H 1 >#define HAVE_SANITIZER_LSAN_INTERFACE_H 1 >#define HAVE_SYS_SOCKET_H 1 >#define HAVE_SYS_PARAM_H 1 >#define HAVE_PTHREAD_H 1 >#define HAVE_SYS_UN_H 1 >#define HAVE_DIRENT_H 1 >#define HAVE_EXECINFO_H 1 >#define HAVE_STDIO_EXT_H 1 >#define HAVE_SYS_VFS_H 1 >#define HAVE_GETOPT_H 1 >#define HAVE_SYS_CDEFS_H 1 >#define HAVE_SYS_TIME_H 1 >#define HAVE_IEEE754_H 1 >#define HAVE_LIMITS_H 1 >#define HAVE_SYS_SELECT_H 1 >#define HAVE_SYS_RANDOM_H 1 >#define STDC_HEADERS 1 >#define _ALL_SOURCE 1 >#define _DARWIN_C_SOURCE 1 >#define _GNU_SOURCE 1 >#define _HPUX_ALT_XOPEN_SOCKET_API 1 >#define _NETBSD_SOURCE 1 >#define _OPENBSD_SOURCE 1 >#define _POSIX_PTHREAD_SEMANTICS 1 >#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 >#define __STDC_WANT_IEC_60559_BFP_EXT__ 1 >#define __STDC_WANT_IEC_60559_DFP_EXT__ 1 >#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 >#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 >#define __STDC_WANT_LIB_EXT2__ 1 >#define __STDC_WANT_MATH_SPEC_FUNCS__ 1 >#define _TANDEM_SOURCE 1 >#define __EXTENSIONS__ 1 >#define GCC_LINT 1 >#define SYSTEM_TYPE "gnu/linux" >#define HAVE_SYS_SOUNDCARD_H 1 >#define HAVE_ALSA 1 >#define HAVE_SOUND 1 >#define HAVE_PERSONALITY_ADDR_NO_RANDOMIZE 1 >#define HAVE_LINUX_SYSINFO 1 >#define LINUX_SYSINFO_UNIT 1 >#define HAVE_TERM_H 1 >#define HAVE_SYS_WAIT_H 1 >#define HAVE_NET_IF_H 1 >#define HAVE_IFADDRS_H 1 >#define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 >#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 >#define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 >#define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 >#define HAVE_STRUCT_IFREQ_IFR_ADDR 1 >#define HAVE_SBRK 1 >#define HAVE_GETPAGESIZE 1 >#define HAVE_FORK 1 >#define HAVE_VFORK 1 >#define HAVE_FCHMOD 1 >#define HAVE_CANONICALIZE_FILE_NAME 1 >#define HAVE_FACCESSAT 1 >#define HAVE_REALPATH 1 >#define HAVE_LSTAT 1 >#define HAVE_READLINKAT 1 >#define HAVE_EXPLICIT_BZERO 1 >#define HAVE_FCHMODAT 1 >#define HAVE_LCHMOD 1 >#define HAVE_FCNTL 1 >#define HAVE_FDOPENDIR 1 >#define HAVE_FSTATAT 1 >#define HAVE_FSYNC 1 >#define HAVE_FUTIMENS 1 >#define HAVE_GETRANDOM 1 >#define HAVE_GETTIMEOFDAY 1 >#define HAVE_MKOSTEMP 1 >#define HAVE_PIPE2 1 >#define HAVE_PSELECT 1 >#define HAVE_PTHREAD_SIGMASK 1 >#define HAVE_READLINK 1 >#define HAVE_ISBLANK 1 >#define HAVE_ISWCTYPE 1 >#define HAVE_STRTOIMAX 1 >#define HAVE_SYMLINK 1 >#define HAVE_LOCALTIME_R 1 >#define HAVE_TIMEGM 1 >#define HAVE_UTIMENSAT 1 >#define HAVE_GETDTABLESIZE 1 >#define HAVE_FUTIMES 1 >#define HAVE_FUTIMESAT 1 >#define HAVE_LUTIMES 1 >#define SYSTEM_MALLOC 1 >#define HAVE_MMAP 1 >#define HAVE_PTHREAD 1 >#define THREADS_ENABLED 1 >#define HAVE_GETADDRINFO_A 1 >#define HAVE_DBUS 1 >#define HAVE_DBUS_WATCH_GET_UNIX_FD 1 >#define HAVE_DBUS_TYPE_IS_VALID 1 >#define HAVE_DBUS_VALIDATE_BUS_NAME 1 >#define HAVE_DBUS_VALIDATE_PATH 1 >#define HAVE_DBUS_VALIDATE_INTERFACE 1 >#define HAVE_DBUS_VALIDATE_MEMBER 1 >#define HAVE_GNUTLS 1 >#define HAVE_LIBSYSTEMD 1 >#define HAVE_INOTIFY 1 >#define USE_FILE_NOTIFY 1 >#define HAVE_XIM 1 >#define USE_XIM 1 >#define XRegisterIMInstantiateCallback_arg6 XPointer >#define HAVE_LCMS2 1 >#define HAVE_ZLIB 1 >#define HAVE_LIBGCCJIT 1 >#define HAVE_LIBGCCJIT_H 1 >/* end confdefs.h. */ > > #include <libgccjit.h> > #include <stdlib.h> > #include <stdio.h> > int > main (int argc, char **argv) > { > gcc_jit_context *ctxt; > gcc_jit_result *result; > ctxt = gcc_jit_context_acquire (); > if (!ctxt) > exit (1); > gcc_jit_type *int_type = > gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT); > gcc_jit_function *func = > gcc_jit_context_new_function (ctxt, NULL, > GCC_JIT_FUNCTION_EXPORTED, > int_type, "foo", 0, NULL, 0); > gcc_jit_block *block = gcc_jit_function_new_block (func, "foo"); > gcc_jit_block_end_with_return ( > block, > NULL, > gcc_jit_context_new_rvalue_from_int (ctxt, int_type, 1)); > result = gcc_jit_context_compile (ctxt); > if (!result) > exit (1); > typedef int (*fn_type) (void); > fn_type foo = > (fn_type)gcc_jit_result_get_code (result, "foo"); > if (!foo) > exit (1); > if (foo () != 1) > exit (1); > gcc_jit_context_release (ctxt); > gcc_jit_result_release (result); > return 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 Raw
Actions:
View
Attachments on
bug 801580
:
723280
| 723316 |
723508