Skip to contentSkip to conversation

Building tilegx defconfig gets init/exit section errors in xfs.

DISCUSSION Paul Gortmaker 4 participants 5 messages Mar 25, 2012 – Mar 26, 2012 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi All,

Recently the tilegx defconfig was added to the linux-next build coverage, which exposed this.

LD .tmp_vmlinux1
xfs_qm_exit' referenced in section .init.text' of fs/built-in.o:
defined in discarded section `.exit.text' of fs/built-in.o
make[1]: *** [.tmp_vmlinux1] Error 1

http://kisskb.ellerman.id.au/kisskb/buildresult/5941293/

It seemed odd to me, since I didn't think there was anything arch specific in the init/exit sectioning, so I thought I'd mention it here, just in case it hasn't been brought up before.

Thanks,
Paul.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw

Hey Paul,

Quoted 8 lines · Paul Gortmaker

Recently the tilegx defconfig was added to the linux-next build coverage, which exposed this.

LD .tmp_vmlinux1
xfs_qm_exit' referenced in section .init.text' of fs/built-in.o:
defined in discarded section `.exit.text' of fs/built-in.o
make[1]: *** [.tmp_vmlinux1] Error 1

Quoted 5 lines

http://kisskb.ellerman.id.au/kisskb/buildresult/5941293/

It seemed odd to me, since I didn't think there was anything arch specific in the init/exit sectioning, so I thought I'd mention it here, just in case it hasn't been brought up before.

Yep, this is fixed in the xfs master branch, and we'll be requesting a pull ASAP. Thanks for reporting it! ;)

Regards,
Ben

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
In reply to Paul Gortmaker
Quoted 10 lines · Paul Gortmaker

Hi All,

Recently the tilegx defconfig was added to the linux-next build coverage, which exposed this.

LD .tmp_vmlinux1
xfs_qm_exit' referenced in section .init.text' of fs/built-in.o:
defined in discarded section `.exit.text' of fs/built-in.o
make[1]: *** [.tmp_vmlinux1] Error 1

Quoted 5 lines

http://kisskb.ellerman.id.au/kisskb/buildresult/5941293/

It seemed odd to me, since I didn't think there was anything arch specific in the init/exit sectioning, so I thought I'd mention it here, just in case it hasn't been brought up before.

Already been reported, a patch has been provided, too. So the fix is underway.

Thanks for reporting the problem anyway, Paul.

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#3 lore raw
Quoted 13 lines · Dave Chinner
Quoted 12 lines · Paul Gortmaker

Hi All,

Recently the tilegx defconfig was added to the linux-next build coverage, which exposed this.

LD .tmp_vmlinux1
xfs_qm_exit' referenced in section .init.text' of fs/built-in.o:
defined in discarded section `.exit.text' of fs/built-in.o
make[1]: *** [.tmp_vmlinux1] Error 1

http://kisskb.ellerman.id.au/kisskb/buildresult/5941293/

Quoted 8 lines
Quoted 3 lines

It seemed odd to me, since I didn't think there was anything arch specific in the init/exit sectioning, so I thought I'd mention it here, just in case it hasn't been brought up before.

Already been reported, a patch has been provided, too. So the fix is underway.

Thanks for reporting the problem anyway, Paul.

Thanks Dave, Ben - seems gmane archive isn't easily searchable, but the nabble one is. I'll add this link to the linux-next triage report until the fix appears in a linux-next build:

http://old.nabble.com/-PATCH--fs%3A-xfs%3A-fix-section-mismatch-in-linux-next-td33519270.html

And next time I'll try harder to search a useful archive. :)

Paul.

Quoted 4 lines

Cheers,

Dave.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#4 lore raw
Quoted 13 lines · Dave Chinner
Quoted 12 lines · Paul Gortmaker

Hi All,

Recently the tilegx defconfig was added to the linux-next build coverage, which exposed this.

LD .tmp_vmlinux1
xfs_qm_exit' referenced in section .init.text' of fs/built-in.o:
defined in discarded section `.exit.text' of fs/built-in.o
make[1]: *** [.tmp_vmlinux1] Error 1

http://kisskb.ellerman.id.au/kisskb/buildresult/5941293/

Quoted 7 lines
Quoted 3 lines

It seemed odd to me, since I didn't think there was anything arch specific in the init/exit sectioning, so I thought I'd mention it here, just in case it hasn't been brought up before.

Already been reported, a patch has been provided, too. So the fix is underway.

Thanks for reporting the problem anyway, Paul.

And I'll second that with my thanks for adding tilegx to the linux-next build coverage! Please do continue to cc me on any issues that are exposed.

Signature · 2 lines
Chris Metcalf, Tilera Corp.
http://www.tilera.com