Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 904040 Details for
Bug 940350
app-misc/wipe-2.3.1 - [gcc-15] mt.h: error: type of randomMT does not match original declaration [-Werror=lto-type-mismatch]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-misc:wipe-2.3.1:20240927-200117.log
app-misc:wipe-2.3.1:20240927-200117.log (text/plain), 11.12 KB, created by
Toralf Förster
on 2024-09-27 20:04:15 UTC
(
hide
)
Description:
app-misc:wipe-2.3.1:20240927-200117.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-09-27 20:04:15 UTC
Size:
11.12 KB
patch
obsolete
> * Package: app-misc/wipe-2.3.1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking wipe-2.3.1.tar.bz2 to /var/tmp/portage/app-misc/wipe-2.3.1/work >>>> Source unpacked in /var/tmp/portage/app-misc/wipe-2.3.1/work >>>> Preparing source in /var/tmp/portage/app-misc/wipe-2.3.1/work/wipe-2.3.1 ... > * Applying wipe-2.3.1-LDFLAGS.patch ... > [ ok ] > * Applying wipe-2.3.1-musl-stdint.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/app-misc/wipe-2.3.1/work/wipe-2.3.1' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/app-misc/wipe-2.3.1/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader --force' ... > [ ok ] > * Running elibtoolize in: wipe-2.3.1/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/wipe-2.3.1/work/wipe-2.3.1 ... > * econf: updating wipe-2.3.1/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating wipe-2.3.1/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/wipe-2.3.1 --htmldir=/usr/share/doc/wipe-2.3.1/html --libdir=/usr/lib64 >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking for library containing strerror... none required >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether the C compiler accepts -pipe... yes >checking whether the C compiler accepts -g... yes >checking whether the C compiler accepts -O0... yes >checking whether the C compiler accepts -O2... yes >checking whether the C compiler accepts -ansi... yes >checking whether the C compiler accepts -pedantic... yes >checking whether the C compiler accepts -Wall... yes >checking whether the C compiler accepts -Werror... yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/param.h... yes >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for unistd.h... (cached) yes >checking for stdint.h... (cached) yes >checking for fcntl.h... yes >checking for memory.h... yes >checking for linux/fs.h... yes >checking for sys/mount.h... yes >checking for sys/disklabel.h... no >checking for sys/ioctl.h... yes >checking for sys/file.h... yes >checking for sys/stat.h... (cached) yes >checking for sys/time.h... yes >checking for sys/types.h... (cached) yes >checking for getopt.h... yes >checking for errno.h... yes >checking for termio.h... yes >checking for termios.h... yes >checking for linux/mtio.h... yes >checking for an ANSI C-conforming const... yes >checking for inline... __inline__ >checking for off_t... yes >checking for size_t... yes >checking whether stat file-mode macros are broken... no >checking for getpagesize... yes >checking for working mmap... yes >checking for getopt... yes >checking for strnlen... yes >checking for bzero... yes >checking for memset... yes >checking for memcpy... yes >checking for realloc... yes >checking for fchmod... yes >checking for ioctl... yes >checking for fcntl... yes >checking for lockf... yes >checking for flock... yes >checking for fsync... yes >checking for fdatasync... yes >checking for unlink... yes >checking for rmdir... yes >checking for remove... yes >checking for rename... yes >checking for dirfd... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting >config.status: creating config.h >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/wipe-2.3.1/work/wipe-2.3.1 ... >make -j4 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto' >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o main.o main.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o wipe.o wipe.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o rand.o rand.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o dir.o dir.c >dir.c: In function âdrill_downâ: >dir.c:148:15: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 148 | fgets(prompt, sizeof(prompt), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o file.o file.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o blkdev.o blkdev.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o lock.o lock.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o text.o text.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o str.o str.c >lock.c: In function âdo_lockâ: >lock.c:147:7: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 147 | fgets(prompt, sizeof(prompt), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o percent.o percent.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o prompt.o prompt.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o io.o io.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o mt.o mt.c >prompt.c: In function âprompt_destroyâ: >prompt.c:96:15: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 96 | fgets(prompt, sizeof(prompt), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >prompt.c:120:15: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 120 | fgets(prompt, sizeof(prompt), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >prompt.c: In function âprompt_unlinkâ: >prompt.c:183:15: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 183 | fgets(prompt, sizeof(prompt), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >prompt.c:197:15: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 197 | fgets(prompt, sizeof(prompt), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >prompt.c: In function âprompt_recursionâ: >prompt.c:255:15: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 255 | fgets(prompt, sizeof(prompt), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >prompt.c:269:15: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 269 | fgets(prompt, sizeof(prompt), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc *.o -o wipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto >mt.h:4:22: error: type of ârandomMTâ does not match original declaration [-Werror=lto-type-mismatch] > 4 | public unsigned long randomMT(void); > | ^ >mt.c:153:17: note: return value type mismatch > 153 | public u_rand_t randomMT(void) > | ^ >mt.c:153:17: note: type âu_rand_tâ should match type âlong unsigned intâ >mt.c:153:17: note: ârandomMTâ was previously declared here >mt.c:153:17: note: code may be misoptimized unless â-fno-strict-aliasingâ is used >mt.h:3:13: error: type of âseedMTâ does not match original declaration [-Werror=lto-type-mismatch] > 3 | public void seedMT(unsigned long seed); > | ^ >mt.c:73:13: note: type mismatch in parameter 1 > 73 | public void seedMT(u_rand_t seed) > | ^ >mt.c:73:13: note: type âu_rand_tâ should match type âlong unsigned intâ >mt.c:73:13: note: âseedMTâ was previously declared here >mt.c:73:13: note: code may be misoptimized unless â-fno-strict-aliasingâ is used >lto1: some warnings being treated as errors >lto-wrapper: fatal error: x86_64-pc-linux-gnu-gcc returned 1 exit status >compilation terminated. >/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed >collect2: error: ld returned 1 exit status >make: *** [Makefile:35: wipe] Error 1 > * ERROR: app-misc/wipe-2.3.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-misc/wipe-2.3.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/wipe-2.3.1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:wipe-2.3.1:20240927-200117.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/wipe-2.3.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/wipe-2.3.1/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/wipe-2.3.1/work/wipe-2.3.1' > * S: '/var/tmp/portage/app-misc/wipe-2.3.1/work/wipe-2.3.1' >
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 940350
:
904039
| 904040 |
904041
|
904042
|
904043
|
904044
|
904045
|
904046
|
904047