[llvm-bugs] [Bug 34815] New: function ‘pet_options_args’ redeclared as variable
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 3 05:16:36 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34815
Bug ID: 34815
Summary: function ‘pet_options_args’ redeclared as variable
Product: Polly
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Other
Assignee: polly-dev at googlegroups.com
Reporter: dilyan.palauzov at aegee.org
CC: llvm-bugs at lists.llvm.org
Polly 5 does not compile:
make[2]: Entering directory '/src/llvm/build_5.0'
[ 53%] Linking C shared library ../../../../lib/libPollyPPCG.so
cd /src/llvm/build_5.0/tools/polly/lib/External && /usr/local/bin/cmake -E
cmake_link_script CMakeFiles/PollyPPCG.dir/link.txt --verbose=1
/usr/local/bin/cc -fPIC -flto -pipe -fPIC -Werror=date-time -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic
-Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O3 -flto=4
-pipe -Wl,-s,-O1 -Wl,-z,defs -shared -Wl,-soname,libPollyPPCG.so -o
../../../../lib/libPollyPPCG.so CMakeFiles/PollyPPCG.dir/ppcg/cuda.c.o
CMakeFiles/PollyPPCG.dir/ppcg/cuda_common.c.o
CMakeFiles/PollyPPCG.dir/ppcg/gpu_array_tile.c.o
CMakeFiles/PollyPPCG.dir/ppcg/gpu.c.o
CMakeFiles/PollyPPCG.dir/ppcg/gpu_group.c.o
CMakeFiles/PollyPPCG.dir/ppcg/gpu_print.c.o
CMakeFiles/PollyPPCG.dir/ppcg/gpu_tree.c.o
CMakeFiles/PollyPPCG.dir/ppcg/ppcg.c.o
CMakeFiles/PollyPPCG.dir/ppcg/ppcg_options.c.o
CMakeFiles/PollyPPCG.dir/ppcg/schedule.c.o
CMakeFiles/PollyPPCG.dir/ppcg/external.c.o -Wl,-rpath,/src/llvm/build_5.0/lib:
../../../../lib/libPollyISL.so
/src/llvm/llvm-5.0.0.src/tools/polly/lib/External/pet/include/pet.h:20:1:
error: function ‘pet_options_args’ redeclared as variable
ISL_ARG_DECL(pet_options, struct pet_options, pet_options_args)
^
/src/llvm/llvm-5.0.0.src/tools/polly/lib/External/ppcg/external.c:121:6: note:
previously declared here
void pet_options_args() {
^
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error: /usr/local/bin/cc returned 1 exit status
compilation terminated.
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.4.1/../../../../x86_64-pc-linux-gnu/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [tools/polly/lib/External/CMakeFiles/PollyPPCG.dir/build.make:356:
lib/libPollyPPCG.so] Error 1
make[2]: Leaving directory '/src/llvm/build_5.0'
make[1]: *** [CMakeFiles/Makefile2:23842:
tools/polly/lib/External/CMakeFiles/PollyPPCG.dir/all] Error 2
make[1]: Leaving directory '/src/llvm/build_5.0'
make: *** [Makefile:152: all] Error 2
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171003/8e43fd65/attachment.html>
More information about the llvm-bugs
mailing list