* Re: [gentoo-user] Make failed to compile: symbol __alloca not found...
@ 2017-12-11 17:27 99% ` tuxic
0 siblings, 0 replies; 1+ results
From: tuxic @ 2017-12-11 17:27 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-12-10 6:28 [gentoo-user] Make failed to compile: symbol __alloca not found tuxic
2017-12-11 9:12 ` Raffaele Belardi
2017-12-11 17:27 99% ` tuxic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox