Build failed about x64.debug

21 views
Skip to first unread message

Yahan Lu

unread,
Nov 22, 2022, 2:49:54 AM11/22/22
to v8-dev
commit id:
```

commit 5e07bb70e52798f39123b75ab65024ea7bb4724d (origin/main, origin/HEAD)

Author: Dominik Inführ

Date:   Mon Nov 21 21:04:47 2022 +0100

    [heap] Enable shared heap flags on more fuzzers

    

    Enable --shared-string-table and --struct-harmony on more fuzzers.

    

    Bug: v8:13267

```
run
```
./tools/dev/gm.py x64.debug
```

log:
```

In file included from gen/torque-generated/src/objects/js-struct-tq.cc:1:

In file included from ../../src/objects/js-struct-inl.h:8:

In file included from ../../src/api/api-inl.h:9:

In file included from ../../src/api/api.h:15:

In file included from ../../src/execution/isolate.h:29:

In file included from ../../src/execution/isolate-data.h:10:

In file included from ../../src/codegen/external-reference-table.h:10:

In file included from ../../src/codegen/external-reference.h:9:

In file included from ../../src/runtime/runtime.h:13:

In file included from ../../src/handles/handles.h:14:

In file included from ../../src/zone/zone.h:13:

../../src/base/vector.h:146:24: error: 'is_pod<const v8::internal::trap_handler::ProtectedInstructionData>' is deprecated: use is_standard_layout && is_trivial instead [-Werror,-Wdeprecated-declarations]

    static_assert(std::is_pod<T>::value);

                       ^

../../build/linux/debian_bullseye_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/type_traits:696:5: note: 'is_pod<const v8::internal::trap_handler::ProtectedInstructionData>' has been explicitly marked deprecated here

    _GLIBCXX20_DEPRECATED("use is_standard_layout && is_trivial instead")

    ^

../../build/linux/debian_bullseye_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/x86_64-linux-gnu/c++/10/bits/c++config.h:103:39: note: expanded from macro '_GLIBCXX20_DEPRECATED'

# define _GLIBCXX20_DEPRECATED(MSG) [[deprecated(MSG)]]

                                      ^

4 errors generated.

ninja: build stopped: subcommand failed.

```

Jakob Kummerow

unread,
Nov 22, 2022, 5:28:47 AM11/22/22
to v8-...@googlegroups.com
Our bots are happy. What are your GN args?


--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/e52bd1bc-ef35-469c-a52a-df42db2e5b5dn%40googlegroups.com.

Yahan Lu

unread,
Nov 22, 2022, 7:56:34 PM11/22/22
to v8-dev
```

luyahan@plct-dev-7:~/v8/v8 $ ./tools/dev/gm.py x64.debug

# mkdir -p out/x64.debug

# echo > out/x64.debug/args.gn << EOF

is_component_build = true

is_debug = true

symbol_level = 2

target_cpu = "x64"

v8_enable_sandbox = true

use_goma = false

v8_enable_backtrace = true

v8_enable_fast_mksnapshot = true

v8_enable_slow_dchecks = true

v8_optimized_debug = false

EOF

# gn gen out/x64.debug

Done. Made 183 targets from 101 files in 143ms

# autoninja -C out/x64.debug d8

```
Here~

Yahan Lu

unread,
Nov 22, 2022, 10:11:12 PM11/22/22
to v8-dev
thanks 
I fix it by 
rm -r  out/x64.debug/

Reply all
Reply to author
Forward
0 new messages