Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55243 - app-arch/dar-2.1.2-r1 does not link
Summary: app-arch/dar-2.1.2-r1 does not link
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-26 08:32 UTC by Joerg Schaible
Modified: 2004-06-28 20:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dar-2.1.2-r1.ebuild.diff (dar-2.1.2-r1.ebuild.diff,368 bytes, patch)
2004-06-26 08:33 UTC, Joerg Schaible
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2004-06-26 08:32:24 UTC
The ebuild does not link because of unresolved externals if the CXXFLAG -fno-default-inline is set:

get_version.o(.gnu.linkonce.t._ZN6libdar10statistics5clearEv+0x1f): In function `libdar::statistics::clear()':
: undefined reference to `libdar::infinint::infinint[in-charge](long)'
collect2: ld returned 1 exit status
make[3]: *** [get_version] Error 1
make[3]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src/libdar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2'
make: *** [all] Error 2

!!! ERROR: app-arch/dar-2.1.2-r1 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)

Repeat:
CXXFLAGS=-fno-default-inline emerge dar

Build is fine, if flag is filtered, see attachment.

Regards,
J
Comment 1 Joerg Schaible 2004-06-26 08:32:24 UTC
The ebuild does not link because of unresolved externals if the CXXFLAG -fno-default-inline is set:

get_version.o(.gnu.linkonce.t._ZN6libdar10statistics5clearEv+0x1f): In function `libdar::statistics::clear()':
: undefined reference to `libdar::infinint::infinint[in-charge](long)'
collect2: ld returned 1 exit status
make[3]: *** [get_version] Error 1
make[3]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src/libdar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2'
make: *** [all] Error 2

!!! ERROR: app-arch/dar-2.1.2-r1 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)

Repeat:
CXXFLAGS=-fno-default-inline emerge dar

Build is fine, if flag is filtered, see attachment.

Regards,
Jörg

BTW: There is a new service release 2.1.3 available ...
Comment 2 Joerg Schaible 2004-06-26 08:33:30 UTC
Created attachment 34198 [details, diff]
dar-2.1.2-r1.ebuild.diff

Patch for the ebuild to filter the problematic compiler flag
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2004-06-28 20:31:11 UTC
dar-2.1.3.ebuild in cvs.