From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 513D3139083 for ; Mon, 11 Dec 2017 17:27:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C426AE1050; Mon, 11 Dec 2017 17:27:30 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 044ADE1037 for ; Mon, 11 Dec 2017 17:27:29 +0000 (UTC) Received: from localhost ([79.223.102.37]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MAQ0o-1eCr0812k6-00BZWw for ; Mon, 11 Dec 2017 18:27:18 +0100 Date: Mon, 11 Dec 2017 18:27:17 +0100 From: tuxic@posteo.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Make failed to compile: symbol __alloca not found... Message-ID: <20171211172717.zyqsjac2tdfdz3gz@solfire> Mail-Followup-To: gentoo-user@lists.gentoo.org References:<20171210062834.tyba6c4iakos2wm7@solfire> <35b48599-10f5-0ff8-2742-d41cbbe90d9a@st.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To:<35b48599-10f5-0ff8-2742-d41cbbe90d9a@st.com> User-Agent: NeoMutt/20171208 Sender: X-Provags-ID: V03:K0:h4LBB7t1LQoUDMOQuUvnEIWeN8frVZ/IkIrTs0H0JHSLWlhCmRT VjLOmif69q+DC91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975449b-74ed-411a-8617-edd471d6db1b X-Archives-Hash: 960e5d1a91559b9b5c6d3bbf749ee1b1 On 12/11 10:12, Raffaele Belardi wrote: > tuxic@posteo.de wrote: > > Hi, > > > > sys-devel/make-4.2.1-r1 failed to compile with this: > > > > > Online I found articles which explain, why it is not recommended to > > use alloca() at all: > > RETURN VALUE The alloca() function returns a pointer to the beginning of the allocated space. If the allocation causes stack overflow, program behaviour is undefined. > > (https://stackoverflow.com/questions/1018853/why-is-the-use-of-alloca-not-considered-good-practice) > > > > How can I recompile make -- it is still non-PIE and one of those > > application which I cant convince to be friendly to gcc :) > > > > How serious is this alloca-thingy at all? > > > > Not being able to build sys-devel/make is a really serious thing but rather than trying to > debug the sources I'd try to understand why it does not build for you while it does for > most of the gentoo users (otherwise bugzilla and this list would be overwhelmed with panic > messages!). > > Is there anything special about your environment? For example, I notice '--as-needed' in > your linker flags: that affects how the linker works which in turn may cause your problem, > was it your choice or a default option? > > Once your build issue is solved you could investigate on the 'make' online resources why > they chose to use alloca function (BTW, this may give you a hint: "This temporary space is > automatically freed when the function that called alloca() returns to its caller." I > wouldn't use it but it may make some coding easier) > > raffaele > > My root-environment look like this: LS_COLORS=no=00:fi=00:di=00;32:ln=00;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=00;31:*.tgz=00;31:*.bz2=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.ZIP=00;31:*.z=00;31:*.7z=00;31:*.Z=00;31:*.gz=00;31:*.rpm=00;31:*.maff=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.png=00;35:*.pgm=00;35:*.ppm=00;35:*.pnm=00;35:*.pcx=00;35:*.xbm=00;35:*.xpm=00;35:*.xcf=00;35:*.tif=00;35:*.GIF=00;35:*.BMP=00;35:*.PNG=00;35:*.PGM=00;35:*.PPM=00;35:*.PNM=00;35:*.PCX=00;35:*.XBM=00;35:*.XPM=00;35:*.XCF=00;35:*.TIF=00;35: LANG=en_US.UTF-8 DISPLAY=:0.0 COLORTERM=rxvt SHELL=/bin/zsh TERM=xterm-256color XAUTHORITY=/home/mccramer/.Xauthority PATH=/usr/local/cuda/open64/bin:/bin/:/sbin:/usr/sbin:/usr/teTeX/bin/i686-pc-linux-gnu:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/lib/llvm/5/bin:/opt/nvidia-cg-toolkit/bin:/opt/cuda/bin:/usr/games/bin:/root/bin:/opt/bin:/opt/maintech/gcc-3.4.5-glibc-2.3.6/arm-920t-linux-gnu/bin:/usr/avr/bin MAIL=/var/spool/mail/root LOGNAME=root USER=root USERNAME=root HOME=/root SUDO_COMMAND=/bin/zsh SUDO_USER=mccramer SUDO_UID=1001 SUDO_GID=100 SHLVL=1 PWD=/root OLDPWD=/home/mccramer zshloader=:/root/.zshenv:/root/.zshrc HELPDIR=/usr/local/lib/zsh/help PKG_CONFIG_PATH=/usr/lib/pkgconfig AXIOM=/usr/axiom/mnt/linux GNOME_LIBCONFIG_PATH=/usr/lib XDG_DATA_DIRS=/root/.local/share:/usr/local/share/:/usr/share/ KFORTH_DIR=/usr/share/kForth TEXDOCVIEW_dvi=kgh %s TEXDOCVIEW_pdf=kgh %s TEXDOCVIEW_ps=kghostview %s TEXDOCVIEW_html=dillo %s PS1=%M:%2d> LESSOPEN=|/usr/bin/lesspipe.sh %s PERLIO=stdio PILOTPORT=/dev/tts/0 MC_COLOR_TABLE=base_color=normal=green,black:normal=green,black:menuhot=red,cyan:menuhotsel=red,cyan:directory=cyan,black:executable=green,black:link=red,black:device=green,black:special=green,black:core=green,black:hidden=green,black:temp=green,black:doc=green,black:archive=green,black:source=green,black:media=green,black:graph=green,black:database=green,black:marked=black,yellow:stalelink=black,red:editnormal=green,black EDITOR=/usr/local/bin/vim G_BROKEN_FILENAMES= HISTSIZE=30000 EIX_LIMIT=0 PKGHOME=/root/NetModule/nmpackages DIFMT=SvFUaPTM CUDA_VISIBLE_DEVICES=0 RANGER_LOAD_DEFAULT_RC=FALSE _=/bin//env Cheers Meino