Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501878 - dev-libs/dietlibc-0.33 on ARM - Makefile:66: *** unknown architecture, please fix Makefile. Stop.
Summary: dev-libs/dietlibc-0.33 on ARM - Makefile:66: *** unknown architecture, please...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 11:35 UTC by BRULE Herman
Modified: 2016-08-25 19:15 UTC (History)
1 user (show)

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


Attachments
Comment 2 (emerge-info.txt,2.76 KB, text/plain)
2014-02-21 14:13 UTC, BRULE Herman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BRULE Herman 2014-02-20 11:35:53 UTC
Hello,

I need dietlibc to have vserver on ARM, dietlibc work on ARM, but the ebuild do:
>>> Compiling source in /var/tmp/portage/dev-libs/dietlibc-0.33/work/dietlibc-0.33 ...
make -j4 prefix=/usr/diet CC=armv7a-hardfloat-linux-gnueabi-gcc 'CFLAGS=-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -nostdinc -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fno-strict-aliasing -Wa,--noexecstack' STRIP=: 
Makefile:66: *** unknown architecture, please fix Makefile.  Stop.

Cheers,
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-21 14:03:36 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 BRULE Herman 2014-02-21 14:13:02 UTC
Created attachment 370960 [details]
Comment 2
Comment 3 BRULE Herman 2014-02-21 14:14:55 UTC
1) already send at creation, but not here... strange bug
2) This line is just after the configure, I re download gentoo to post that's
Comment 4 BRULE Herman 2014-02-21 15:48:06 UTC
>>> Emerging (1 of 1) dev-libs/dietlibc-0.30-r2
 * dietlibc-0.30.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                           [ ok ]
 * dietlibc-patches-0.30-r2.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking dietlibc-0.30.tar.bz2 to /var/tmp/portage/dev-libs/dietlibc-0.30-r2/work
>>> Unpacking dietlibc-patches-0.30-r2.tar.bz2 to /var/tmp/portage/dev-libs/dietlibc-0.30-r2/work
 * Applying 005_all_nostrip.patch ...                                                                                                                                                                                                                                   [ ok ]
 * Applying 010_all_prefix.patch ...                                                                                                                                                                                                                                    [ ok ]
 * Applying 015_all_dirent-prototype.patch ...                                                                                                                                                                                                                          [ ok ]
 * Applying 020_all_nice.patch ...                                                                                                                                                                                                                                      [ ok ]
 * Applying 025_all_libstdio-fflush-null.patch ...                                                                                                                                                                                                                      [ ok ]
 * Applying 030_all_stackgap-instead-of-ssp.patch ...                                                                                                                                                                                                                   [ ok ]
 * Applying 035_all_syscall-no-arch.patch ...                                                                                                                                                                                                                           [ ok ]
 * Applying 040_all_nostackprotector.patch ...                                                                                                                                                                                                                          [ ok ]
 * Applying 045_all_noexecstacks.patch ...                                                                                                                                                                                                                              [ ok ]
 * Applying 100_x86_pic-socketcall.patch ...                                                                                                                                                                                                                            [ ok ]
 * Applying 150_ppc_rename-powerpc.patch ...                                                                                                                                                                                                                            [ ok ]
 * Applying 155_ppc64_rename-powerpc64.patch ...                                                                                                                                                                                                                        [ ok ]
 * Applying 200_sparc64_build-32bit.patch ...                                                                                                                                                                                                                           [ ok ]
 * Applying 250_hppa_iitlb.patch ...                                                                                                                                                                                                                                    [ ok ]
 * Applying 300_mips_omit-nopic.patch ...                                                                                                                                                                                                                               [ ok ]
 * Applying 350_ia64_omit-fno-omit-frame-pointer.patch ...                                                                                                                                                                                                              [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-libs/dietlibc-0.30-r2/work
>>> Compiling source in /var/tmp/portage/dev-libs/dietlibc-0.30-r2/work/dietlibc-0.30 ...
make -j1 'CFLAGS=-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' 
Makefile:75: *** unknown architecture, please fix Makefile.  Stop.
emake failed
 * ERROR: dev-libs/dietlibc-0.30-r2::gentoo failed (compile phase):
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2116:  Called die
 * The specific snippet of code:
 *       emake -j1 CFLAGS="${CFLAGS}" || die "make failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/dietlibc-0.30-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/dietlibc-0.30-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/dietlibc-0.30-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/dietlibc-0.30-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/dietlibc-0.30-r2/work/dietlibc-0.30'
 * S: '/var/tmp/portage/dev-libs/dietlibc-0.30-r2/work/dietlibc-0.30'
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2014-12-23 10:41:58 UTC
Currently dietlibc doesn't support armv7 - ARCH has some patches for it, iirc, but I haven't had any free time to look into them recently.  Last time I had looked they didn't apply to our version.  If you want to take a look at them, and give them a try, please do!  Otherwise, if someone else on the ARM team has some spare time to look at this, it should be fairly easy to nick the patches and test assuming they apply correctly now.
Comment 6 Pacho Ramos gentoo-dev 2016-08-25 19:15:59 UTC
Please try with 0.34_pre20140729... if still failing maybe we should drop all the keywords finally for arm