e2fsprogs and R_X86_64_PC32 relocation error

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
rrajagopal
New Member
Posts: 9
Joined: Sun Jul 31, 2011 7:41 pm

e2fsprogs and R_X86_64_PC32 relocation error

Post by rrajagopal » Mon Aug 08, 2011 8:40 pm

I am trying to use some of the e2fsprogs to format HDD etc. I have copied over the relevant files (mke2fs, mkfs.* libext2*, libcomm*, libe2p*). Whenever I use any of the programs, I get the following errors (mke2fs as an example)

mke2fs: Symbol `_et_list' causes overflow in R_X86_64_PC32 relocation
mke2fs: Symbol `et_ext2_error_table' causes overflow in R_X86_64_PC32 relocation
mke2fs: Symbol `undo_io_manager' causes overflow in R_X86_64_PC32 relocation
mke2fs: Symbol `unix_io_manager' causes overflow in R_X86_64_PC32 relocation
mke2fs 1.41.14 (22-Dec-2010)
Segmentation fault

I cannot figure out what the problem is. On googling, there are references to various software packages not compiling due to R_X86_64_PC32 relocation errors but there does not appear to be any references to e2fsprogs. Any help is much appreciated.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: e2fsprogs and R_X86_64_PC32 relocation error

Post by Pablo » Thu Aug 18, 2011 5:39 am

I cannot reproduce the problem by typing 'mke2fs'. Does the problem occur when you just type 'mke2fs' or does it only occur when you include command line options? If is succeeds without command line options but fails with command line options, what are the command line options that cause it to fail?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

rrajagopal
New Member
Posts: 9
Joined: Sun Jul 31, 2011 7:41 pm

Re: e2fsprogs and R_X86_64_PC32 relocation error

Post by rrajagopal » Fri Aug 19, 2011 11:45 pm

when I simply run any of the e2fs programs on the command line, I get some relocation messages but no segfault, whereas when I run it with an instruction, I do get a segfault. Examples below:

/tmp/test # e2fsck
e2fsck: Symbol `_et_list' causes overflow in R_X86_64_PC32 relocation
e2fsck: Symbol `et_ext2_error_table' causes overflow in R_X86_64_PC32 relocation
e2fsck: Symbol `unix_io_manager' causes overflow in R_X86_64_PC32 relocation
Usage: e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
[-I inode_buffer_blocks] [-P process_inode_size]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] device

Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list


/tmp/test # e2fsck /dev/sdc1
e2fsck: Symbol `_et_list' causes overflow in R_X86_64_PC32 relocation
e2fsck: Symbol `et_ext2_error_table' causes overflow in R_X86_64_PC32 relocation
e2fsck: Symbol `unix_io_manager' causes overflow in R_X86_64_PC32 relocation
e2fsck 1.41.14 (22-Dec-2010)
Segmentation fault

Post Reply