[BUG] Building Nix 2.3.7 fails

  • Done
  • quality assurance status badge
Details
2 participants
  • Kurt
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Kurt
Severity
normal
K
(address . bug-guix@gnu.org)
e3f7bfc03160628d35a55646e9a9614078f5ab64.camel@runbox.com
Greetings,

ld: src/nix/repl.o: in function `gc::operator new(unsigned long)':
/gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-
8.0.4/include/gc/gc_cpp.h:409: undefined reference to `GC_malloc'
ld: src/nix/repl.o: in function `gc::operator delete(void*)':
/gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-
8.0.4/include/gc/gc_cpp.h:444: undefined reference to `GC_free'
ld: /gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-
8.0.4/include/gc/gc_cpp.h:444: undefined reference to `GC_free'
ld: /gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-
8.0.4/include/gc/gc_cpp.h:444: undefined reference to `GC_free'
collect2: error: ld returned 1 exit status
make: *** [mk/lib.mk:105: src/nix/nix] Error 1
command "make" "-j" "6" failed with status 2

Hopefully this is the info needed.

Thank you,
Kurt
M
M
Maxim Cournoyer wrote on 4 Sep 2020 04:39
(name . Kurt)(address . gitlabcanada@runbox.com)(address . 43181-done@debbugs.gnu.org)
87o8mme03q.fsf@gmail.com
Kurt <gitlabcanada@runbox.com> writes:

Toggle quote (21 lines)
> Greetings,
>
> ld: src/nix/repl.o: in function `gc::operator new(unsigned long)':
> /gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-
> 8.0.4/include/gc/gc_cpp.h:409: undefined reference to `GC_malloc'
> ld: src/nix/repl.o: in function `gc::operator delete(void*)':
> /gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-
> 8.0.4/include/gc/gc_cpp.h:444: undefined reference to `GC_free'
> ld: /gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-
> 8.0.4/include/gc/gc_cpp.h:444: undefined reference to `GC_free'
> ld: /gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-
> 8.0.4/include/gc/gc_cpp.h:444: undefined reference to `GC_free'
> collect2: error: ld returned 1 exit status
> make: *** [mk/lib.mk:105: src/nix/nix] Error 1
> command "make" "-j" "6" failed with status 2
>
> Hopefully this is the info needed.
>
> Thank you,
> Kurt

Fixed with commit ed66095679.

Thanks for the report!

Closing,

Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 43181@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 43181
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch