Package: librep
Version: 0.90.2-1.4
Severity: serious
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-5

librep fails to build with GCC 5 on certain architectures.  Basically,
it fails when __GNUC__ and __OPTIMIZE__ are defined (see src/repint.h).
Interestingly, it seems to work on amd64.

See "Different semantics for inline functions" at
https://gcc.gnu.org/gcc-5/porting_to.html

> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c4n1.hlinux.usa.hp.com
...
> libtool: link:  aarch64-linux-gnu-gcc -shared  .libs/continuations.o 
> .libs/datums.o .libs/debug-buffer.o .libs/files.o .libs/find.o .libs/fluids.o 
> .libs/gh.o .libs/lisp.o .libs/lispcmds.o .libs/lispmach.o .libs/macros.o 
> .libs/main.o .libs/message.o .libs/misc.o .libs/numbers.o .libs/origin.o 
> .libs/regexp.o .libs/regsub.o .libs/streams.o .libs/structures.o 
> .libs/symbols.o .libs/tuples.o .libs/values.o .libs/weak-refs.o 
> .libs/unix_dl.o .libs/unix_files.o .libs/unix_main.o .libs/unix_processes.o   
> -ldl -lcrypt -lgmp -lm    -Wl,-soname -Wl,librep.so.9 -Wl,-version-script 
> -Wl,.libs/librep.ver -o .libs/librep.so.9.4.0
> .libs/datums.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/debug-buffer.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/files.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/find.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/fluids.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/gh.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/lisp.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/lispcmds.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/lispmach.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/macros.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/main.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/misc.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/numbers.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/origin.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/regexp.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/regsub.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/streams.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/structures.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/symbols.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/tuples.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/values.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/weak-refs.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/unix_dl.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/unix_files.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/unix_main.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/unix_processes.o: In function `inline_Fcons':
> /«PKGBUILDDIR»/src/repint.h:238: multiple definition of `inline_Fcons'
> .libs/continuations.o:/«PKGBUILDDIR»/src/repint.h:238: first defined here
> .libs/files.o: In function `Fmake_temp_name':
> /«PKGBUILDDIR»/src/files.c:1599: warning: the use of `tmpnam' is dangerous, 
> better use `mkstemp'
> collect2: error: ld returned 1 exit status
> make[2]: *** [librep.la] Error 1
> Makefile:170: recipe for target 'librep.la' failed

-- 
Martin Michlmayr
Linux for HP Helion, Hewlett-Packard


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to