Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953536 - dev-lang/crystal-1.15.1 build failed with Out of Memory
Summary: dev-lang/crystal-1.15.1 build failed with Out of Memory
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-10 22:12 UTC by Yuriy V
Modified: 2025-04-14 19:43 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,5.55 KB, text/x-log)
2025-04-10 22:12 UTC, Yuriy V
Details
emerge --info (emerge-info.log,25.98 KB, text/x-log)
2025-04-10 22:13 UTC, Yuriy V
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy V 2025-04-10 22:12:27 UTC
Created attachment 924321 [details]
build.log

got a Out of memory after moving whole system to another hd:

Using /usr/lib/llvm/19/bin/llvm-config [version=19.1.7]
CRYSTAL_CONFIG_BUILD_COMMIT="" CRYSTAL_CONFIG_PATH=lib:/usr/lib64/crystal SOURCE_DATE_EPOCH="1738627200"  CRYSTAL_CONFIG_LIBRARY_PATH='$ORIGIN/../lib/crystal' ./bin/crystal build -D strict_multi_assign -D preview_overload_order --release --stats --progress --threads 1 --link-flags="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" -Dwithout_interpreter  -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib -D use_pcre2
Parse:                             00:00:00.000046598 (   0.94MB)
Semantic (top level):              00:00:00.750753339 ( 190.06MB)
Semantic (new):                    00:00:00.003405954 ( 190.06MB)
Semantic (type declarations):      00:00:00.055350849 ( 198.06MB)
Semantic (abstract def check):     00:00:00.025717105 ( 222.06MB)
Semantic (restrictions augmenter): 00:00:00.018962105 ( 222.06MB)
Semantic (ivars initializers):     00:00:04.356080747 (1152.00MB)
Semantic (cvars initializers):     00:00:00.012295091 (1160.00MB)
Semantic (main):                   00:00:12.267342679 (1394.00MB)
Semantic (cleanup):                00:00:00.001132246 (1394.00MB)
Semantic (recursive struct check): 00:00:00.001645774 (1394.00MB)
Unhandled exception: write (#<IO::FileDescriptor:0x7fcde867dd80>): Bad address (IO::Error)
GC Warning: Failed to expand heap by 8192 KiB
GC Warning: Failed to expand heap by 3440 KiB
GC Warning: Out of Memory! Heap size: 1605 MiB. Returning NULL!
Invalid memory access (signal 11) at address 0x2ae0a0
[0x8523f9] ???
[0x8523b0] ???
[0x47757fc] ???
Comment 1 Yuriy V 2025-04-10 22:13:17 UTC
Created attachment 924322 [details]
emerge --info