Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libc++: std/utilities/charconv/charconv.msvc/test.pass.cpp fails after #91651 #113265

Open
pirama-arumuga-nainar opened this issue Oct 22, 2024 · 2 comments
Assignees
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Comments

@pirama-arumuga-nainar
Copy link
Collaborator

After #91651, the above test fails in an internal Android builder when targeting i386-linux-gnu. Tagging @michaelrj-google.

Command Output (stdout):
--
# COMPILED WITH
/tmpfs/src/git/out/stage2/./bin/clang++ /tmpfs/src/git/out/llvm-project/libcxx/test/std/utilities/charconv/charconv.msvc/test.pass.cpp -pthread --target=i386-unknown-linux-gnu -nostdinc++ -I /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test-suite-install/include/i386-unknown-linux-gnu/c++/v1 -I /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test-suite-install/include/c++/v1 -I /tmpfs/src/git/out/llvm-project/libcxx/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Werror=thread-safety -Wuser-defined-warnings  -lc++experimental -nostdlib++ -L /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test-suite-install/lib/i386-unknown-linux-gnu -Wl,-rpath,/tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test-suite-install/lib/i386-unknown-linux-gnu -lc++ -latomic -o /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test/std/utilities/charconv/charconv.msvc/Output/test.pass.cpp.dir/t.tmp.exe
# executed command: /tmpfs/src/git/out/stage2/./bin/clang++ /tmpfs/src/git/out/llvm-project/libcxx/test/std/utilities/charconv/charconv.msvc/test.pass.cpp -pthread --target=i386-unknown-linux-gnu -nostdinc++ -I /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test-suite-install/include/i386-unknown-linux-gnu/c++/v1 -I /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test-suite-install/include/c++/v1 -I /tmpfs/src/git/out/llvm-project/libcxx/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Werror=thread-safety -Wuser-defined-warnings -lc++experimental -nostdlib++ -L /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test-suite-install/lib/i386-unknown-linux-gnu -Wl,-rpath,/tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test-suite-install/lib/i386-unknown-linux-gnu -lc++ -latomic -o /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test/std/utilities/charconv/charconv.msvc/Output/test.pass.cpp.dir/t.tmp.exe
# EXECUTED AS
/tmpfs/src/git/prebuilts/python/linux-x86/bin/python3.11 /tmpfs/src/git/out/llvm-project/libcxx/utils/run.py --execdir /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test/std/utilities/charconv/charconv.msvc/Output/test.pass.cpp.dir --  /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test/std/utilities/charconv/charconv.msvc/Output/test.pass.cpp.dir/t.tmp.exe
# executed command: /tmpfs/src/git/prebuilts/python/linux-x86/bin/python3.11 /tmpfs/src/git/out/llvm-project/libcxx/utils/run.py --execdir /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test/std/utilities/charconv/charconv.msvc/Output/test.pass.cpp.dir -- /tmpfs/src/git/out/stage2/runtimes/runtimes-i386-unknown-linux-gnu-bins/libcxx/test/std/utilities/charconv/charconv.msvc/Output/test.pass.cpp.dir/t.tmp.exe
# .---command stdout------------
# | USAGE:
# | test.exe              : generates seed data from random_device.
# | Generated seed data.
# | SEED DATA:
# | 4150976393 3711790134 1069703474 706999699 1971770358 3309215770 315823703 3438922270 3375396010 3573917276 1464116950 2968488237 2635585040 1301939270 4016078018 1858822477 864698069 2180268580 1399627027 2957610965 1551827513 394111556 1070962202 970487149 669668700 739835117 1090220901 2797540012 367867186 1501822844 622556964 527597392 3229660502 2944447654 2393434273 2663154033 2826098939 4243961491 1993504978 775043048 2509465299 2993586794 547971811 3873481846 1998480752 3540768727 1044319585 4008618232 3721234028 3007175688 2727512756 2329462586 3332352455 772414078 3250242665 1610100940 858847743 2661313874 2336756750 1776455284 4276195205 358646463 2104487040 3920762637 4090424221 1967619469 845149557 1862608782 4245042032 1075069006 3384430723 2807250094 1212711042 4082166226 100160162 408235072 246788583 2511265277 1553045601 3720410015 2421671760 1106341172 1163252853 3491961620 4142752856 3117210174 852553540 3447870601 1130786657 347219773 21846054 332659153 2555859477 3894862018 90948087 1758713998 4095479472 501782802 536974067 660340020 507753747 840335557 3409036656 1175756794 3033903060 3836095384 1563534043 4279435890 3297322105 1224514310 3772157393 1500986051 3165361068 3372580099 4144187513 3361014105 678448207 100179316 2449638254 2278222765 416412939 4199731825 138470610 3928315356 3521305251 3497554947 1625795678 2291361087 3009357047 14986102 2595281852 1816002357 3107531342 2485593975 1620117285 931082003 3479195811 1818749847 2463086069 604679334 3151626016 2732198782 825284663 2696848734 1887231690 4185925266 3949292971 2645268376 1672063031 1933426132 870700167 3556840969 2340948033 2731198097 4056657444 3784742498 1916832168 2919511413 2305431511 705852525 2602904227 1057141694 636368990 1362217366 2884082280 34054436 1550372851 1302565347 3625978560 816780201 2949439255 1120081332 3441104273 2287615940 3231300080 4047377209 2336248441 2191564582 2138086008 3871426583 940310672 365959020 850555418 1560970233 1373027441 2345302169 2489801108 3359167155 1474872415 1299583502 3113889144 2941495221 4254351253 3736188484 3969589144 2519679394 3512644815 1738725367 2183914604 3123315133 2451021082 3587296439 1046078801 3568499145 3599543086 1504839079 3193535693 294573448 149586005 3818588504 637673461 976535988 716371099 3348011911 2811324363 1061143303 579686703 1284655308 3895206504 2312622801 2746754362 849617174 3033413469 3058629025 3957136779 1235984739 2014581996 2494980555 3630096385 1980231820 4009578254 4250165964 1021860465 657969244 2808200143 3586383089 720610499 1176226099 4143163377 3320000793 685830474 2998346433 1651189432 3484343575 710937051 1219193113 2335957507 376269951 1258747235 3120884617 3140536513 3954344430 3981648271 404735575 1137973607 2206565899 2360019245 3919411120 3932232387 3058901574 3145994458 3742359061 327891592 136239408 1054962576 1902850847 1953895082 2870131113 2621484381 1727576122 797704630 2711782750 2394640531 3318704870 3886686298 796730276 312091540 4290851122 961930759 4030077102 1106836230 864717451 1655339308 1919690857 148688060 3152401784 1519367618 271366555 3142161758 2836282297 3126466022 2671248331 2737850281 4074578276 3033031081 698145470 137229229 1485662621 3014994257 245427596 2334857026 1497942082 1122585913 1814010099 3075817175 986647821 3478059528 2015463172 332954090 4169526230 976393972 2452566976 551154409 4034912632 3019144764 1585172570 3949198877 2763305758 809851124 2013674917 421006400 547099941 2442800830 3996379329 956821263 2832534433 1598972084 864735102 3854107049 327345594 1317141824 430690269 1171662308 2089258147 3566408174 2179288951 2983821623 3839468069 4162606967 2309337789 2854917878 4283050187 4267470755 1065657258 3047765024 2924449256 2711227044 2867821929 3161151787 2332896213 41419395 3132315322 2059871500 2447391597 3536604486 2570484782 660052137 2474614903 1572218142 2379013057 4085540905 4034755551 1686444318 1791063176 2144931750 2525138776 338909971 1253445777 3897891160 1743069410 2935128263 4
# `-----------------------------
# .---command stderr------------
# | round-trip failed for 0xC5A9E6BDDE4C5D33
# | This is a randomized test.
# | DO NOT IGNORE/RERUN THIS FAILURE.
# | You must report it to the STL maintainers.
# `-----------------------------
# error: command failed with exit status: 250
@github-actions github-actions bot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Oct 22, 2024
@michaelrj-google
Copy link
Contributor

Ack, will look into it when I get a chance.

@michaelrj-google
Copy link
Contributor

Do you have any more information on how to replicate this (e.g. cmake arguments?) I'm not very familiar with the libcxx tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

No branches or pull requests

2 participants