[devel] 5.1 FAILED cgal.git=3.5-alt0.M51.1

Alexey Tourbin at на altlinux.ru
Пт Дек 18 00:05:42 UTC 2009


On Fri, Dec 18, 2009 at 01:44:29AM +0300, Dmitry V. Levin wrote:
> $ GET http://git.altlinux.org/tasks/17565/build/1/i586/log |fgrep libCGAL_ImageIO |head -6
> Linking CXX shared library ../../lib/libCGAL_ImageIO.so
> -- Installing: /usr/src/tmp/cgal-buildroot/usr/lib/libCGAL_ImageIO.so.4.0.0
> -- Installing: /usr/src/tmp/cgal-buildroot/usr/lib/libCGAL_ImageIO.so.4
> -- Installing: /usr/src/tmp/cgal-buildroot/usr/lib/libCGAL_ImageIO.so
> -- Removed runtime path from "/usr/src/tmp/cgal-buildroot/usr/lib/libCGAL_ImageIO.so.4.0.0"
> mode of `./usr/lib/libCGAL_ImageIO.so.4.0.0' changed to 0644 (rw-r--r--)
> 
> The build log isn't quite informative, is it?

Yeah! It really sucks!

> > $ rpmpeek /ALT/Sisyphus/files/x86_64/RPMS/libcgal-3.5-alt1.x86_64.rpm eu-elflint ./usr/lib64/libCGAL_ImageIO.so.4.0.0 |head
> > section [ 8] '.rela.plt': relocation 0: offset out of bounds                          
> > section [ 8] '.rela.plt': relocation 1: offset out of bounds
> > section [ 8] '.rela.plt': relocation 2: offset out of bounds
> > section [ 8] '.rela.plt': relocation 3: offset out of bounds
> > section [ 8] '.rela.plt': relocation 4: offset out of bounds
> > section [ 8] '.rela.plt': relocation 5: offset out of bounds
> > section [ 8] '.rela.plt': relocation 6: offset out of bounds
> > section [ 8] '.rela.plt': relocation 7: offset out of bounds
> > section [ 8] '.rela.plt': relocation 8: offset out of bounds
> > section [ 8] '.rela.plt': relocation 9: offset out of bounds
> > $ 
> > 
> > > Check it out, Beavis!
> 
> Well, binutils and gcc versions differ in 5.1 and Sisyphus, that's clear.

Actually I think maybe we should integrate eu-elflint into
/usr/lib/rpm/verify-elf.  It has --gnu-ld flag to stop barking
at binutils semi-bugs, and otherwise it's useful.

$ rpmpeek libcgal-3.5-alt0.M51.1.x86_64.rpm eu-elflint --gnu-ld ./usr/lib64/libCGAL_ImageIO.so.4.0.0      
section [ 2] '.gnu.hash': hash value for symbol 227 in chain for bucket 316 wrong                                    
section [ 2] '.gnu.hash': bitmask does not match names in the hash table
$ rpmpeek /ALT/Sisyphus/files/x86_64/RPMS/libcgal-3.5-alt1.x86_64.rpm eu-elflint --gnu-ld ./usr/lib64/libCGAL_ImageIO.so.4.0.0                                                                                                                   
No errors
$ 

From what I see it's a malformed ELF.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 198 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20091218/2c937aad/attachment.bin>


Подробная информация о списке рассылки Devel