Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840263 - dev-lang/jerryscript-2.4.0-r4 - lto1: all warnings being treated as errors
Summary: dev-lang/jerryscript-2.4.0-r4 - lto1: all warnings being treated as errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror gcc-12
  Show dependency tree
 
Reported: 2022-04-23 07:48 UTC by Toralf Förster
Modified: 2022-06-10 11:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.80 KB, text/plain)
2022-04-23 07:48 UTC, Toralf Förster
Details
dev-lang:jerryscript-2.4.0-r4:20220422-225506.log.bz2 (dev-lang:jerryscript-2.4.0-r4:20220422-225506.log.bz2,8.25 KB, application/x-bzip)
2022-04-23 07:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,46.07 KB, text/plain)
2022-04-23 07:48 UTC, Toralf Förster
Details
environment (environment,126.59 KB, text/plain)
2022-04-23 07:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.50 KB, application/x-bzip)
2022-04-23 07:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.54 KB, application/x-bzip)
2022-04-23 07:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.01 KB, application/x-bzip)
2022-04-23 07:48 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-23 07:48:45 UTC
      |           ^
/var/tmp/portage/dev-lang/jerryscript-2.4.0-r4/work/jerryscript-2.4.0/jerry-core/ecma/base/ecma-helpers-string.c:1804:19: note: MEM[(lit_utf8_size_t *)&string1_size_and_length]’ was declared here
 1804 |   lit_utf8_size_t string1_size_and_length[2], string2_size_and_length[2];
      |                   ^
lto1: all warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gcc returned 1 exit status
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220422-150005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0
 [2] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
Python 3.9.12
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 15c28aadabae3ef7b247ba8d2458e867cf707c65
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 22 22:04:20 2022 +0000

    2022-04-22 22:04:19 UTC

emerge -qpvO dev-lang/jerryscript
[ebuild  N    ] dev-lang/jerryscript-2.4.0-r4  USE="-debugger" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-23 07:48:46 UTC
Created attachment 773363 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-23 07:48:47 UTC
Created attachment 773366 [details]
dev-lang:jerryscript-2.4.0-r4:20220422-225506.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-23 07:48:48 UTC
Created attachment 773369 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-23 07:48:50 UTC
Created attachment 773372 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-23 07:48:51 UTC
Created attachment 773375 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-23 07:48:52 UTC
Created attachment 773378 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-23 07:48:53 UTC
Created attachment 773381 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-10 11:02:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c800e1cf627a83ca4b8b9bbdca11026bcf8def8

commit 0c800e1cf627a83ca4b8b9bbdca11026bcf8def8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-10 10:31:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-10 11:01:57 +0000

    dev-lang/jerryscript: drop -Werror; fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/840263
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/jerryscript-2.4.0-no-werror.patch        | 33 ++++++++++++++++++++++
 dev-lang/jerryscript/jerryscript-2.4.0-r4.ebuild   |  1 +
 2 files changed, 34 insertions(+)