Summary: | app-shells/ksh src/lib/libast/comp/tmpnam.c:48:14: error: storage size of 'buf' isn't known | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Piotr Szymaniak <bugzie> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bobbykent32, Ikonta, kumba, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 505542 | ||
Attachments: | build.log |
Description
Piotr Szymaniak
2015-07-23 09:52:10 UTC
Created attachment 407438 [details]
build.log
This reproduces for me with gcc-4.9.3 though not with gcc-4.8.5 (In reply to BobbyK from comment #2) > This reproduces for me with gcc-4.9.3 though not with gcc-4.8.5 Oddly enough, using gcc-4.8.5 w/ pdksh also fixes a compile bug there, too. Hmm... (In reply to Piotr Szymaniak from comment #0) You've missed the error itself. =app-shells/ksh-93.20120229, =sys-devel/gcc-4.9.3: … + cc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -L/var/tmp/portage/app-shells/ksh-93.20120229/work/arch/linux.i386/lib -o nmake archive.o bind.o command.o dump.o expand.o main.o make.o mam.o metarule.o misc.o object.o option.o parse.o read.o rule.o scan.o state.o trap.o variable.o version.o /var/tmp/portage/app-shells/ksh-93.20120229/work/arch/linux.i386/lib/libcoshell.a /var/tmp/portage/app-shells/ksh-93.20120229/work/arch/linux.i386/lib/libast.a -lardir /var/tmp/portage/app-shells/ksh-93.20120229/work/arch/linux.i386/lib/libast.a /var/tmp/portage/app-shells/ksh-93.20120229/work/arch/linux.i386/lib/libast.a /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lardir collect2: error: ld returned 1 exit status mamake [cmd/nmake]: *** exit code 1 making nmake … # equery u sys-devel/gcc [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for sys-devel/gcc-4.9.3: U I - - cilk : Support the Cilk Plus language (C/C++ based languages for parallel programming) + + cxx : Build support for C++ (bindings, extra libraries, code generation, ...) - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally + + fortran : Add support for fortran + + gcj : Enable building with gcj (The GNU Compiler for the Javatm Programming Language) - - go : Build the GCC Go language frontend. - - graphite : Add support for the framework for loop optimizations based on a polyhedral intermediate representation + + nls : Add Native Language Support (using gettext - GNU locale utilities) - - nopie : Disable PIE support (NOT FOR GENERAL USE) - - nossp : Disable SSP support (NOT FOR GENERAL USE) + + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually) - - objc : Build support for the Objective C code language - - objc++ : Build support for the Objective C++ language - - objc-gc : Build support for the Objective C code language Garbage Collector + + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp" - - regression-test : Run the testsuite and install the results (requires FEATURES=test) + + sanitize : Build support various sanitizer functions (ASAN/TSAN/etc...) - - vanilla : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically P.S. Please, rename bug to something more correct, like: "app-shells/ksh (sys-devel/gcc:4.9+): …bin/ld: cannot find -lardir" *** Bug 562244 has been marked as a duplicate of this bug. *** For some reason, the build system is generating a blank value for L_tmpnam in arch/linux.i386/include/ast/ast_stdio.h. #ifndef P_tmpdir #define P_tmpdir /*NOCATLITERAL*/ #endif #ifndef L_ctermid #define L_ctermid #endif #ifndef L_tmpnam #define L_tmpnam #endif commit c7dc706efaceb4816df5eedb45cd7c79ef1c3ef4 Author: Mike Gilbert <floppym@gentoo.org> Date: Sun Nov 29 15:03:23 2015 -0500 app-shells/ksh: Fix build with GCC 5 Bug: https://bugs.gentoo.org/555670 Package-Manager: portage-2.2.26_p3 app-shells/ksh/files/cpp.patch | 24 ++++++++++++++++++++++++ app-shells/ksh/ksh-93.20140625.ebuild | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) |