Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 902530 Details for
Bug 939412
dev-debug/duma-2.5.15-r3 - [gcc-15] dumapp.h: error: declaration of void operator new(std::size_t) throw (std::bad_alloc) has a different exception specifier
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-debug:duma-2.5.15-r3:20240910-062317.log
dev-debug:duma-2.5.15-r3:20240910-062317.log (text/plain), 12.56 KB, created by
Toralf Förster
on 2024-09-10 07:11:10 UTC
(
hide
)
Description:
dev-debug:duma-2.5.15-r3:20240910-062317.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-09-10 07:11:10 UTC
Size:
12.56 KB
patch
obsolete
> * Package: dev-debug/duma-2.5.15-r3:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking duma_2_5_15.tar.gz to /var/tmp/portage/dev-debug/duma-2.5.15-r3/work >>>> Unpacking duma-2.5.15-GNUmakefile.patch.bz2 to /var/tmp/portage/dev-debug/duma-2.5.15-r3/work >>>> Source unpacked in /var/tmp/portage/dev-debug/duma-2.5.15-r3/work >>>> Preparing source in /var/tmp/portage/dev-debug/duma-2.5.15-r3/work/duma_2_5_15 ... > * Applying duma-2.5.15-GNUmakefile.patch ... >patching file comparisons/ex11/Makefile >patching file comparisons/ex12/Makefile >patching file comparisons/ex13/Makefile >patching file comparisons/ex14/Makefile >patching file comparisons/ex15/Makefile >patching file comparisons/ex16/Makefile >patching file comparisons/ex17/Makefile >patching file comparisons/ex21/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file comparisons/ex22/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file comparisons/ex23/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file comparisons/ex24/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file comparisons/ex25/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file comparisons/ex26/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file comparisons/ex27/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file comparisons/ex28/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file comparisons/ex29/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file example_makes/ex1/Makefile >patching file example_makes/ex2/Makefile >patching file example_makes/ex3/Makefile >patching file example_makes/ex4/Makefile >patching file example_makes/ex5/Makefile >patching file example_makes/ex6/Makefile >Hunk #3 succeeded at 21 with fuzz 1. >patching file GNUmakefile >patching file README.txt > [ ok ] > * Applying duma-2.5.15-gcc6.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-debug/duma-2.5.15-r3/work/duma_2_5_15 ... > * Detected OS is: linux > * Exported DUMA_ALIGNMENT=16 for x86_64, >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-debug/duma-2.5.15-r3/work/duma_2_5_15 ... >make -j4 reconfig >using default srcdir [.] >using default prefix [/usr] >using default exec_prefix [/usr] >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O0 -Wall -Wextra -U_FORTIFY_SOURCE -DDUMA_SO_NO_LEAKDETECTION -c createconf.c -o createconf.o >createconf.c: In function âtestAlignmentâ: >createconf.c:131:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 131 | TYPE addr = (TYPE)(buffer) + offset; > | ^ >createconf.c:134:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 134 | *( (unsigned char *) addr ) = 0; > | ^ >createconf.c:135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 135 | *( (unsigned short int*) addr ) = 0; > | ^ >createconf.c:136:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 136 | *( (unsigned int *) addr ) = 0; > | ^ >createconf.c:137:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 137 | *( (unsigned long int *) addr ) = 0L; > | ^ >createconf.c:138:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 138 | *( (float *) addr ) = 0.0F; > | ^ >createconf.c:139:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 139 | *( (double *) addr ) = 0.0; > | ^ >createconf.c:140:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 140 | *( (long double *) addr ) = 0.0; > | ^ >createconf.c:145:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 145 | *( (unsigned long long int *) addr ) = 0L; > | ^ >createconf.c:155:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 155 | TYPE addr = (TYPE)(buffer) + offset; > | ^ >createconf.c:158:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 158 | *( (unsigned char *) addr ) = 0; > | ^ >createconf.c:159:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 159 | *( (unsigned short int*) addr ) = 0; > | ^ >createconf.c:160:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 160 | *( (unsigned int *) addr ) = 0; > | ^ >createconf.c:161:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 161 | *( (unsigned long int *) addr ) = 0L; > | ^ >createconf.c:162:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 162 | *( (float *) addr ) = 0.0F; > | ^ >createconf.c:163:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 163 | *( (double *) addr ) = 0.0; > | ^ >createconf.c:164:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 164 | *( (long double *) addr ) = 0.0; > | ^ >createconf.c:169:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 169 | *( (unsigned long long int *) addr ) = 0L; > | ^ >createconf.c:179:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 179 | TYPE addr = (TYPE)(buffer) + offset; > | ^ >createconf.c:182:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 182 | *( (unsigned char *) addr ) = 0; > | ^ >createconf.c:183:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 183 | *( (unsigned short int*) addr ) = 0; > | ^ >createconf.c:184:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 184 | *( (unsigned int *) addr ) = 0; > | ^ >createconf.c:185:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 185 | *( (unsigned long int *) addr ) = 0L; > | ^ >createconf.c:186:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 186 | *( (float *) addr ) = 0.0F; > | ^ >createconf.c:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 187 | *( (double *) addr ) = 0.0; > | ^ >createconf.c:188:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 188 | *( (long double *) addr ) = 0.0; > | ^ >createconf.c:193:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 193 | *( (unsigned long long int *) addr ) = 0L; > | ^ >createconf.c: In function âmainâ: >createconf.c:801:25: warning: allocation of insufficient size â0â for type âcharâ with size â1â [-Walloc-size] > 801 | char * pcNullPtrA = (char*)malloc(0); > | ^ >createconf.c:802:25: warning: allocation of insufficient size â0â for type âcharâ with size â1â [-Walloc-size] > 802 | char * pcNullPtrB = (char*)malloc(0); > | ^ >rm -f createconf >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O0 -Wall -Wextra -U_FORTIFY_SOURCE -DDUMA_SO_NO_LEAKDETECTION createconf.o -o createconf >./createconf >make -j4 >using default srcdir [.] >using default prefix [/usr] >using default exec_prefix [/usr] >x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -fno-diagnostics-color -std=c++14 -DDUMA_SO_NO_LEAKDETECTION -c dumapp.cpp -o dumapp.o >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O0 -Wall -Wextra -U_FORTIFY_SOURCE -DDUMA_SO_NO_LEAKDETECTION -c duma.c -o duma.o >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O0 -Wall -Wextra -U_FORTIFY_SOURCE -DDUMA_SO_NO_LEAKDETECTION -c sem_inc.c -o sem_inc.o >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O0 -Wall -Wextra -U_FORTIFY_SOURCE -DDUMA_SO_NO_LEAKDETECTION -c print.c -o print.o >In file included from dumapp.cpp:39: >dumapp.h:84:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] > 84 | void * DUMA_CDECL operator new(DUMA_SIZE_T) throw(std::bad_alloc); > | ^~~~~ >dumapp.h:84:23: error: declaration of âvoid* operator new(std::size_t) throw (std::bad_alloc)â has a different exception specifier > 84 | void * DUMA_CDECL operator new(DUMA_SIZE_T) throw(std::bad_alloc); > | ^~~~~~~~ >In file included from dumapp.cpp:34: >/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/new:132:26: note: from previous declaration âvoid* operator new(std::size_t)â > 132 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) > | ^~~~~~~~ >dumapp.h:94:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] > 94 | void * DUMA_CDECL operator new[](DUMA_SIZE_T) throw(std::bad_alloc); > | ^~~~~ >dumapp.h:94:23: error: declaration of âvoid* operator new [](std::size_t) throw (std::bad_alloc)â has a different exception specifier > 94 | void * DUMA_CDECL operator new[](DUMA_SIZE_T) throw(std::bad_alloc); > | ^~~~~~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/new:134:26: note: from previous declaration âvoid* operator new [](std::size_t)â > 134 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) > | ^~~~~~~~ >dumapp.h:106:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] > 106 | d * DUMA_CDECL operator new(DUMA_SIZE_T, const char *, int) throw(std::bad_alloc); > | ^~~~~ >dumapp.h:116:72: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] > 116 | * DUMA_CDECL operator new[](DUMA_SIZE_T, const char *, int) throw(std::bad_alloc); > | ^~~~~ >dumapp.cpp:328:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] > 328 | throw( std::bad_alloc ) > | ^~~~~ >dumapp.cpp:381:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] > 381 | throw( std::bad_alloc ) > | ^~~~~ >x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O0 -Wall -Wextra -U_FORTIFY_SOURCE -DDUMA_SO_NO_LEAKDETECTION -c tstheap.c -o tstheap.o >make: *** [GNUmakefile:544: dumapp.o] Error 1 >make: *** Waiting for unfinished jobs.... >print.c: In function âDUMA_Abortâ: >print.c:271:13: warning: variable âlenbâ set but not used [-Wunused-but-set-variable] > 271 | int lena, lenb; > | ^~~~ >print.c: In function âDUMA_Exitâ: >print.c:356:13: warning: variable âlenbâ set but not used [-Wunused-but-set-variable] > 356 | int lena, lenb; > | ^~~~ > * ERROR: dev-debug/duma-2.5.15-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-debug/duma-2.5.15-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-debug/duma-2.5.15-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-debug:duma-2.5.15-r3:20240910-062317.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-debug/duma-2.5.15-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-debug/duma-2.5.15-r3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-debug/duma-2.5.15-r3/work/duma_2_5_15' > * S: '/var/tmp/portage/dev-debug/duma-2.5.15-r3/work/duma_2_5_15' >
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 939412
:
902529
| 902530 |
902531
|
902532
|
902533
|
902534
|
902535