Summary: | app-backup/dar-2.2.2 segfaults before even starting to create backup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrzej Staniek <andy> |
Component: | Current packages | Assignee: | MATSUU Takuto (RETIRED) <matsuu> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jakub, stian |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | cd /usr/portage/distfiles/dar-2.2.2 ; make | grep -i pic |
Description
Andrzej Staniek
2005-08-25 12:53:43 UTC
It doesn't even compile when the "static" use flag is set. I'll send additional info when i recompile it with this flag (once again). The ebuild should filter the -fomit-frame-pointer flag !!!!! Shit. My first bug report and i fucked up. Ok, now i got it ( after several reemerges i finally really know when it segfaults. Dar segfaults when you want to create an archive bigger than 2G, when the dar32 flag is set and compiled with -fomit-frame-pointer. When you want to create an archive =< 2G then it gives the following output: ############################################### # NOT CAUGHT EXCEPTION, # # E X I T I N G ! # # # ############################################### THANKS TO REPORT THE PREVIOUS OUTPUT TO MAINTAINER GIVING A DESCRIPTION OF THE CIRCUMPSTANCES. IF POSSIBLE TRY TO PRODUCE THIS ERROR, A SCENARIO THAT CAN REPRODUCE IT WOULD HELP MUCH IN SOLVING THIS PROBLEM. THANKS Same thing happens with dar64 flag. When compiled whith -fomit-frame-pointer it gives this nice output from above, but when I want to make a archive with slice size higher than dar supports with 64bit integers, then it segfaults too (try -s 4400000P - works for me :). Without dar32 and dar64 use flags, you get only this nice NOT CAUGHT EXCEPTION output above. So if you wanna have a working dar, don't compile it with -fomit-frame-pointer. This -fomit-frame-pointer flag was set from the jackass installation method. Now I'll just stick with -Os -pipe :) The ebuild should filter this flag. Greetz Andrew how does it behave if you have -pic (taken into account it supports the pic flag). -fomit-frame-pointer only has noticeable effect when you have assembler- inlines, and combining these with PIC can be really wierd. Created attachment 67033 [details]
cd /usr/portage/distfiles/dar-2.2.2 ; make | grep -i pic
Shows what is compiled with -fPIC flag ( I did not set anything specific with
configure, i did this maually, not with emerge ).
fixed in cvs. |