Opened 5 years ago

Last modified 3 years ago

#12403 assigned defect

Toolchain build error with eglibc 2.16 (source: 34055)

Reported by: Tóth F. János <janos666@…> Owned by: florian
Priority: low Milestone: Chaos Calmer 15.05
Component: toolchain Version: Trunk
Keywords: eglibc Cc:


make[6]: *** No rule to make target `/home/janos666/openwrt/trunk/build_dir/toolchain-mips_gcc-4.7-linaro_eglibc-2.16/eglibc-2.16-r21110-final/elf/xmalloc.o', needed by `lib-noranlib'.  Stop.
make[6]: Leaving directory `/home/janos666/openwrt/trunk/build_dir/toolchain-mips_gcc-4.7-linaro_eglibc-2.16/eglibc-2.16-r21110/libc/elf'
make[5]: *** [elf/subdir_lib] Error 2
make[5]: Leaving directory `/home/janos666/openwrt/trunk/build_dir/toolchain-mips_gcc-4.7-linaro_eglibc-2.16/eglibc-2.16-r21110/libc'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/janos666/openwrt/trunk/build_dir/toolchain-mips_gcc-4.7-linaro_eglibc-2.16/eglibc-2.16-r21110-final'
make[3]: *** [/home/janos666/openwrt/trunk/build_dir/toolchain-mips_gcc-4.7-linaro_eglibc-2.16/eglibc-2.16-r21110-final/.built] Error 2
make[3]: Leaving directory `/home/janos666/openwrt/trunk/toolchain/eglibc'
make[2]: *** [toolchain/eglibc/compile] Error 2
make[2]: Leaving directory `/home/janos666/openwrt/trunk'
make[1]: *** [/home/janos666/openwrt/trunk/staging_dir/toolchain-mips_gcc-4.7-linaro_eglibc-2.16/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/home/janos666/openwrt/trunk'
make: *** [world] Error 2

Any ideas?

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

comment:2 Changed 5 years ago by florian

It seems like parallel building of eglibc is not supported everywhere in their Makefile, I have not found yet the exact problem, but as a workaround you can build the toolchain without any parallel flag.

comment:3 Changed 4 years ago by philipp

Looks like it's an issue with gnu make not supporting having dependencies on directories.

at least that's the chatter amongst "make" maintainers in the RHEL world.

comment:4 Changed 4 years ago by philipp

And a patch has been submitted upstream:

comment:5 Changed 3 years ago by florian

Worked around with r41374

Add Comment

Modify Ticket

as assigned .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.